Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+1
+1
scripts/kconfig/expr.c
··· 47 47 e->type = type; 48 48 e->left._initdata = l; 49 49 e->right._initdata = r; 50 + e->val_is_valid = false; 50 51 51 52 hash_add(expr_hashtable, &e->node, hash); 52 53