Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760039AbZAWQdN (ORCPT ); Fri, 23 Jan 2009 11:33:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755898AbZAWQc6 (ORCPT ); Fri, 23 Jan 2009 11:32:58 -0500 Received: from hera.kernel.org ([140.211.167.34]:53854 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751542AbZAWQc5 (ORCPT ); Fri, 23 Jan 2009 11:32:57 -0500 Subject: Re: [GIT PULL -tip] fix 33 make headers_check warnings From: Jaswinder Singh Rajput To: Sam Ravnborg Cc: Jan Engelhardt , "H. Peter Anvin" , David Woodhouse , Ingo Molnar , x86 maintainers , urs.thuermann@volkswagen.de, oliver.hartkopp@volkswagen.de, linux-media@vger.kernel.org, netfilter-devel@vger.kernel.org, netfilter@vger.kernel.org, bfields@fieldses.org, neilb@suse.de, linux-nfs@vger.kernel.org, linux-raid@vger.kernel.org, dbrownell@users.sourceforge.net, netdev@vger.kernel.org, greg@kroah.com, linux-usb@vger.kernel.org, linux-mtd@lists.infradead.org, tiwai@suse.de, mchehab@infradead.org, LKML , Andrew Morton In-Reply-To: <20090123162153.GA25766@uranus.ravnborg.org> References: <1232223441.3966.22.camel@localhost.localdomain> <1232228261.27094.0.camel@macbook.infradead.org> <20090117221932.GA4956@uranus.ravnborg.org> <49725B1E.604@kernel.org> <1232498319.3123.34.camel@localhost.localdomain> <1232726359.3504.18.camel@localhost.localdomain> <1232726658.3504.22.camel@localhost.localdomain> <20090123162153.GA25766@uranus.ravnborg.org> Content-Type: text/plain Date: Fri, 23 Jan 2009 22:01:44 +0530 Message-Id: <1232728304.3504.28.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.24.2 (2.24.2-3.fc10) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1582 Lines: 53 On Fri, 2009-01-23 at 17:21 +0100, Sam Ravnborg wrote: > On Fri, Jan 23, 2009 at 05:11:13PM +0100, Jan Engelhardt wrote: > > > > On Friday 2009-01-23 17:04, Jaswinder Singh Rajput wrote: > > >> > diff --git a/include/linux/dvb/audio.h b/include/linux/dvb/audio.h > > >> > index 89412e1..758a48c 100644 > > >> > --- a/include/linux/dvb/audio.h > > >> > +++ b/include/linux/dvb/audio.h > > >> > @@ -24,9 +24,8 @@ > > >> > #ifndef _DVBAUDIO_H_ > > >> > #define _DVBAUDIO_H_ > > >> > > > >> > -#ifdef __KERNEL__ > > >> > #include > > >> > -#else > > >> > +#ifndef __KERNEL__ > > >> > #include > > >> > #endif > > >> > > > >> > > >> It seems one have objection for this. So I will again insert this in my > > >> new patchset. > > >> > > > > > >oops, s/seems one/seems no one ;-) > > > > I had an objection as previously stated -- namely that > > should be included to remain friendly to C++0x > > programs which should use instead. Forcing > > stdint.h is therefore not nice. > > This is fully agreed. > Jaswinder - can I ask you to do this change (remove of the stdint.h include) > in a follow-up patch. It is two independent changes. > You original patch is fine as is. So is this OK: -#ifdef __KERNEL__ #include -#else -#include -#endif - -- JSR -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/