Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755487AbZARXxl (ORCPT ); Sun, 18 Jan 2009 18:53:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753773AbZARXxc (ORCPT ); Sun, 18 Jan 2009 18:53:32 -0500 Received: from chilli.pcug.org.au ([203.10.76.44]:45085 "EHLO smtps.tip.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753682AbZARXxb (ORCPT ); Sun, 18 Jan 2009 18:53:31 -0500 Date: Mon, 19 Jan 2009 10:53:24 +1100 From: Stephen Rothwell To: Jaswinder Singh Rajput Cc: Ingo Molnar , Andrew Morton , Sam Ravnborg , x86 maintainers , LKML Subject: Re: [GIT PULL -tip] fix 41 'make headers_check' warnings Message-Id: <20090119105324.fd4e9084.sfr@canb.auug.org.au> In-Reply-To: <1232273454.23100.9.camel@localhost.localdomain> References: <1232273454.23100.9.camel@localhost.localdomain> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Mon__19_Jan_2009_10_53_24_+1100_yQSnggBoyGgOb3Ge" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1622 Lines: 53 --Signature=_Mon__19_Jan_2009_10_53_24_+1100_yQSnggBoyGgOb3Ge Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Jaswinder, On Sun, 18 Jan 2009 15:40:54 +0530 Jaswinder Singh Rajput wrote: > > diff --git a/include/linux/pktcdvd.h b/include/linux/pktcdvd.h > index 04b4d73..277de8c 100644 > --- a/include/linux/pktcdvd.h > +++ b/include/linux/pktcdvd.h > @@ -33,11 +33,15 @@ > * able to sucessfully recover with this option (drive will return good > * status as soon as the cdb is validated). > */ > +#ifdef __KERNEL__ > #if defined(CONFIG_CDROM_PKTCDVD_WCACHE) > #define USE_WCACHING 1 > #else > #define USE_WCACHING 0 > #endif > +#else /* __KERNEL__ */ > +#define USE_WCACHING 0 > +#endif /* __KERNEL__ */ This also only has one user (drivers/block/pktcdvd.c) so maybe it should be moved there. --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ --Signature=_Mon__19_Jan_2009_10_53_24_+1100_yQSnggBoyGgOb3Ge Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAklzwPQACgkQjjKRsyhoI8z4QwCgnemwKrymc39j+1M/1y4JbwiS cjwAnRIbEN/p/AYpVk8vvKDYb0eGbhEN =uXUB -----END PGP SIGNATURE----- --Signature=_Mon__19_Jan_2009_10_53_24_+1100_yQSnggBoyGgOb3Ge-- -- 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/