From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from hera.kernel.org ([140.211.167.34]) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1LOOVI-0008HE-Gv for linux-mtd@lists.infradead.org; Sun, 18 Jan 2009 03:39:16 +0000 Subject: Re: [GIT PULL -tip] fix 33 make headers_check warnings From: Jaswinder Singh Rajput To: Kyle McMartin In-Reply-To: <20090118033339.GA671@bombadil.infradead.org> References: <1232223441.3966.22.camel@localhost.localdomain> <1232228261.27094.0.camel@macbook.infradead.org> <20090117221932.GA4956@uranus.ravnborg.org> <1232247901.3097.12.camel@localhost.localdomain> <20090118033339.GA671@bombadil.infradead.org> Content-Type: text/plain Date: Sun, 18 Jan 2009 09:08:24 +0530 Message-Id: <1232249904.3097.15.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: urs.thuermann@volkswagen.de, neilb@suse.de, greg@kroah.com, bfields@fieldses.org, linux-mtd@lists.infradead.org, Sam Ravnborg , dbrownell@users.sourceforge.net, x86 maintainers , tiwai@suse.de, Ingo Molnar , linux-media@vger.kernel.org, mchehab@infradead.org, linux-raid@vger.kernel.org, netfilter@vger.kernel.org, linux-nfs@vger.kernel.org, netdev@vger.kernel.org, linux-usb@vger.kernel.org, LKML , netfilter-devel@vger.kernel.org, oliver.hartkopp@volkswagen.de, spi-devel-general@lists.sourceforge.net, Andrew Morton , David Woodhouse List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sat, 2009-01-17 at 22:33 -0500, Kyle McMartin wrote: > On Sun, Jan 18, 2009 at 08:35:01AM +0530, Jaswinder Singh Rajput wrote: > > Hello Sam, David, > > > > /home/jaswinder/jaswinder-git/linux-2.6-tip/usr/include/mtd/jffs2-user.h:20: extern's make no sense in userspace > > > > This file is for userspace only, and it makes sense where it's used > (mtd-utils.) > > In general though, this file doesn't actually depend on the kernel and > could be entirely provided from the userspace library. > If this file is _ONLY_ for userspace and kernel cannot use it then what is the point of keeping this file in kernel headers. -- JSR