From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: randconfig build error with next-20140710, in sound/soc/rockchip/rockchip_i2s.c Date: Fri, 11 Jul 2014 13:42:31 +0100 Message-ID: <20140711124231.GN30458@sirena.org.uk> References: <53BF2AB8.7050307@rock-chips.com> <20140711103221.70c856fb@canb.auug.org.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qWV9ymU6UYcl1Snp" Return-path: Content-Disposition: inline In-Reply-To: <20140711103221.70c856fb@canb.auug.org.au> Sender: linux-kernel-owner@vger.kernel.org To: Stephen Rothwell Cc: Jianqun , Jim Davis , linux-next , linux-kernel , lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.de, grant.likely@linaro.org, robh+dt@kernel.org, devicetree@vger.kernel.org List-Id: linux-next.vger.kernel.org --qWV9ymU6UYcl1Snp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jul 11, 2014 at 10:32:21AM +1000, Stephen Rothwell wrote: > Who ever gave you that advice is wrong. You should always (except in > very rare circumstances) include every header file that your code > references things from. We have over 20 architectures and many, many > possible configurations in the kernel build system and the fact that a > file builds for one is not guarantee that it will build for another > combination if you depend on implicit includes. Right, I suspect this is coming from the header minimisation efforts :/ --qWV9ymU6UYcl1Snp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJTv9u0AAoJELSic+t+oim9BHgP/1k+2gVzXk3NifgKssLQkwSx POIoUiLOTnQtNIW36CxW6IuoHfjdFd92Apg5m1BFQdjRb3+R/IEBrF0UpS0DyTW8 QCskXO2P9S8zwAxFrBrz05EwxuvaF+1tjAZKbhmQohB+XToQLi5CcPTZTbNqaICN +XqzK8i6vgjWYwgZ9b6bxYrvwB16R/16Yl4sv/nVZol/QN2/F8NzqZf30V16/5+/ U+6PGZJM1xUhWvMbuWSdOotcLPmUWuRoMtfezWjJsFZ1rxhbdi0fvNoo/IZ+Ck91 m4675Lo7BSghFadjtkZ3gsUqsRaekb5KHW6UZ6WAa8kRCCEMZv7KyOtPvW2GhpyO MMdwGduHTgypa1MFsAQ9fyF49rTCecS+TvWLOeWxx4B81gbQ4BIi41E6zl6qzJrX XIWPuxlhhscZ8O+iOPFfJ5CzSV2d6Kv378fGy6AVPKkiQ0PmshztediVCiT8Q0Ro KQbJ/vfh3gWVgD4fnuikuY0ViHKS8jUQoxabK7vYsXXd/VelA7aYcvEF0qISEaiX /g4vH9kwIO4eBZe/K+MEG/QTVqYxtbhGbVNSVxJ5o+aGDq5Dv+IgazJdrlhkZMHs wl26SAdablFmuvkKwp+Oqlyl1PnJ5mTTmW2evOnpuzFR2pO3Wc/MmjbdIL6hNbpZ wSh6Lpwd8A0l/00SRvou =CwhL -----END PGP SIGNATURE----- --qWV9ymU6UYcl1Snp--