From: Mark Brown Subject: Re: linux-next: build failure after merge of the driver-core tree Date: Wed, 18 Sep 2019 22:55:23 +0100 Message-ID: <20190918215522.GU2596@sirena.co.uk> References: <20190918170952.GT2596@sirena.co.uk> <20190918185257.GC1933777@kroah.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rfwNdt5cNUUjB/69" Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Linus Torvalds Cc: Greg KH , Suzuki K Poulose , Wolfram Sang , Mika Westerberg , linux-i2c@vger.kernel.org, Linux Next Mailing List , Linux Kernel Mailing List List-Id: linux-i2c@vger.kernel.org --rfwNdt5cNUUjB/69 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 18, 2019 at 12:03:17PM -0700, Linus Torvalds wrote: > On Wed, Sep 18, 2019 at 11:53 AM Greg KH wrote: > > On Wed, Sep 18, 2019 at 06:09:52PM +0100, Mark Brown wrote: > > > After merging the driver-core tree, today's linux-next build > > > for arm64 allmodconfig failed like this: > > Wait, I thought Linus said this fixup was now resolved. What went > > wrong? > I think this is purely a linux-next build failure. > I do full allmodconfig builds between each merge I do, and what > happened is that as part of the LED merge, I removed the > no-longer-used 'i2c_acpi_find_match_adapter()' to resolve that build > warning. > Then linux-next presumably merged my tree with the driver-core tree, > and that re-instated the use of i2c_acpi_find_match_adapter() - which > was now gone. > But when *I* merged the driver-core tree, I did the merge fixup > correctly to actually re-instate not only the use, but also re-instate > the removed function that now had a use again. Yes, that's exactly what happened - it's purely an issue when Greg's tree is merged automatically, I was reporting the same thing you fixed up. If the initial build of your tree had been broken I'd have been complaining much more loudy and much earlier! > > Linus, should I submit a fix for this? > My tree should be fine, and I really think this is just a temporary > linux-next effect from the above. I think linux-next only handled the > actual syntactic conflicts, not the semantic conflict of "function had > been removed to avoid build error from previous merge, and needed to > be brought back" Right, git just sees the code moving about and got confused. Since you've merged both trees now tomorrow's -next won't do anything for driver-core and the automation will handle everything fine. --rfwNdt5cNUUjB/69 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl2Cp8oACgkQJNaLcl1U h9CQaQf7Be6CUCkBLIU+XgGxIxBpFAKQ3/Lj7v4elTs1RQzhubAGFZLNi0Gmj6jL 9qUFgUH7iPpweMkXP2SdsHWipAa04WYfhyLrNXtWa3NBnn6ZK3N2kEO10NFdH/eo XiPHkN2gm6gbuP7RWb3379fqCKa6QMPwYU3i5hn5+DYhYd6uxqtZhjBl3IcIgBUt yd/B6f7fn33tPTVvid8AEeERj7z1M3R8NKqGNX8Nor8m5xR+ANm8kDMR926waYqp XyLgCdf/Sm2jPJhCa1xKkxGJCirYLq/1rvDfxA3+MtBsf3sqcOfvvCdeQqaZpJDd dp2CveS+YlO4vxhcok9dt/IzaTkbSQ== =TZl6 -----END PGP SIGNATURE----- --rfwNdt5cNUUjB/69--