On Fri, 2016-03-04 at 16:42 -0800, David Decotigny wrote:
> From: David Decotigny <de...@googlers.com>
> 
> This cover changes up to:
> 
>   commit 3f1ac7a700d039c61d8d8b99f28d605d489a60cf
>   Author: David Decotigny <de...@googlers.com>
>   Date:   Wed Feb 24 10:57:59 2016 -0800
> 
>       net: ethtool: add new ETHTOOL_xLINKSETTINGS API
> 
> 
> Signed-off-by: David Decotigny <de...@googlers.com>
> ---
>  ethtool-copy.h | 485 
> +++++++++++++++++++++++++++++++++++++++++++++++----------
>  1 file changed, 405 insertions(+), 80 deletions(-)
> 
> diff --git a/ethtool-copy.h b/ethtool-copy.h
> index d23ffc4..37fd6dc 100644
> --- a/ethtool-copy.h
> +++ b/ethtool-copy.h
> @@ -10,8 +10,8 @@
>   * Portions Copyright (C) Sun Microsystems 2008
>   */
>  
> -#ifndef _LINUX_ETHTOOL_H
> -#define _LINUX_ETHTOOL_H
> +#ifndef _UAPI_LINUX_ETHTOOL_H
> +#define _UAPI_LINUX_ETHTOOL_H

You've copied this directly from the source tree.   Instead you must
use 'make headers_install' to generate the UAPI version (under
usr/include/).

Ben.

-- 
Ben Hutchings
The most exhausting thing in life is being insincere. - Anne Morrow Lindberg

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to