]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kconfig: clear expr::val_is_valid when allocated
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 30 Sep 2024 17:02:22 +0000 (02:02 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 1 Oct 2024 08:05:30 +0000 (17:05 +0900)
commit8d095547debdd26583171a6b589acbc9fd76aa9f
tree940ad28306c1d10c56bc95b4f578577dcb7ffc92
parent4d46b5b623e0adee1153b1d80689211e5094ae44
kconfig: clear expr::val_is_valid when allocated

Since commit 95573cac25c6 ("kconfig: cache expression values"), xconfig
emits a lot of false-positive "unmet direct dependencies" warnings.

While conf_read() clears val_is_valid flags, 'make xconfig' calculates
symbol values even before the conf_read() call. This is another issue
that should be addressed separately, but it has revealed that the
val_is_valid field is not initialized.

Fixes: 95573cac25c6 ("kconfig: cache expression values")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/expr.c