From: Tom Rini Date: Fri, 17 Jul 2020 16:58:39 -0400 Subject: [PATCH] fixdep: fix CONFIG_IS_ENABLED etc. handling In-Reply-To: <20200708214556.90235-1-swarren@wwwdotorg.org> References: <20200708214556.90235-1-swarren@wwwdotorg.org> Message-ID: <20200717205839.GE6227@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Jul 08, 2020 at 03:45:56PM -0600, Stephen Warren wrote: > From: Stephen Warren > > When fixdep detects CONFIG_IS_ENABLED and other similar macros, it must > parse the macro parameter to determine which actual CONFIG_ option is > being referenced. This involves moving a pointer forward through the > entire CONFIG_ option "word". Currently, the code uses variable q to walk > through the word, but doesn't actually initialize it to point at the > parameter before doing so. Consequently, the walking process immediately > fails since it sees the macro invocatoins's ( rather than the expected > alpha-numeric characters in the macro parameter. Fix this by adding the > missing initialization. > > Fixes: 67f2ee86ccbe ("kbuild: fixdep: Resync this with v4.17") > Fixes: 7012865e961c ("gpio: fix test.py for gpio label lookup") > Signed-off-by: Stephen Warren > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: