netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* why usr/include/linux/if_frad.h is required
@ 2009-01-20 14:52 Jaswinder Singh Rajput
  2009-01-20 14:54 ` Jaswinder Singh Rajput
  0 siblings, 1 reply; 15+ messages in thread
From: Jaswinder Singh Rajput @ 2009-01-20 14:52 UTC (permalink / raw)
  To: mike.mclagan, Ingo Molnar, Sam Ravnborg, netdev, davem

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2009-01-26 20:30 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-20 14:52 why usr/include/linux/if_frad.h is required Jaswinder Singh Rajput
2009-01-20 14:54 ` Jaswinder Singh Rajput
2009-01-20 17:47   ` Arnd Bergmann
2009-01-20 19:53     ` Krzysztof Halasa
2009-01-20 23:48       ` Jaswinder Singh Rajput
2009-01-21  1:06         ` Krzysztof Halasa
2009-01-21  4:50           ` Jaswinder Singh Rajput
2009-01-21  5:33             ` Sam Ravnborg
2009-01-21  6:15               ` David Miller
2009-01-21  6:38                 ` Stephen Hemminger
2009-01-21 23:37                   ` David Miller
2009-01-22  5:37                     ` Sam Ravnborg
2009-01-24 13:25                     ` Jaswinder Singh Rajput
2009-01-24 15:32                       ` Krzysztof Halasa
2009-01-26 20:30                         ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).