kconfig: Invalidate all symbols after changing to y or m.
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Tue, 4 Feb 2020 04:08:44 +0000 (13:08 +0900)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 5 Feb 2021 10:53:22 +0000 (11:53 +0100)
commit2391e7e514785584c32defb9a15d82c1dab837fa
tree8e1e8fcb3a2a4683699892ffb73f040190789b46
parent9a45cdc7b5c5362610ccd1915268cd1f0c73b3e0
kconfig: Invalidate all symbols after changing to y or m.

Since commit 89b9060987d9 ("kconfig: Add yes2modconfig and
mod2yesconfig targets.") forgot to clear SYMBOL_VALID bit after
changing to y or m, these targets did not save the changes.
Call sym_clear_all_valid() so that all symbols are revalidated.

Fixes: 89b9060987d9 ("kconfig: Add yes2modconfig and mod2yesconfig targets.")
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/confdata.c