Re: why usr/include/linux/if_frad.h is required

From: Jaswinder Singh Rajput
Date: Tue Jan 20 2009 - 09:54:43 EST


CC: LKML

On Tue, 2009-01-20 at 20:23 +0530, Jaswinder Singh Rajput wrote:
> For if_frad.h I am getting two warnings with 'make headers_check':
> usr/include/linux/if_frad.h:29: leaks CONFIG_DLCI to userspace where it is not valid
> usr/include/linux/if_frad.h:129: leaks CONFIG_DLCI to userspace where it is not valid
>
> Almost all if_frad.h is covered with #if defined(CONFIG_DLCI) || defined(CONFIG_DLCI_MODULE)
>
> If I remove this portion so only this what we get in userspace:
>
> #ifndef _FRAD_H_
> #define _FRAD_H_
>
> #include <linux/if.h>
>
> #endif
>
> So I am surprising what is the point of this ?
>
> Can I change its name to is_fraud ;-)
>
> --
> JSR

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/