From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaswinder Singh Rajput Subject: Re: why usr/include/linux/if_frad.h is required Date: Tue, 20 Jan 2009 20:24:02 +0530 Message-ID: <1232463242.3088.16.camel@localhost.localdomain> References: <1232463174.3088.15.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Ingo Molnar , Sam Ravnborg , netdev@vger.kernel.org, davem@davemloft.net, LKML To: mike.mclagan@linux.org Return-path: Received: from hera.kernel.org ([140.211.167.34]:52351 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755540AbZATOy3 (ORCPT ); Tue, 20 Jan 2009 09:54:29 -0500 In-Reply-To: <1232463174.3088.15.camel@localhost.localdomain> Sender: netdev-owner@vger.kernel.org List-ID: 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 > > #endif > > So I am surprising what is the point of this ? > > Can I change its name to is_fraud ;-) > > -- > JSR