[PATCH] fixdep: fix CONFIG_IS_ENABLED etc. handling
sjg at chromium.org
Thu Jul 9 00:24:30 CEST 2020
On Wed, 8 Jul 2020 at 15:46, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at nvidia.com>
> 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 <swarren at nvidia.com>
> scripts/basic/fixdep.c | 1 +
> 1 file changed, 1 insertion(+)
I'm really not sure how you found that needle.
Reviewed-by: Simon Glass <sjg at chromium.org>
Oddly enough I cannot repeat the problems I was having last week after
a quick try, but this definitely looks like the culprit to me.
More information about the U-Boot