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)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 5 Feb 2020 04:45:37 +0000 (13:45 +0900)
commit089b7d890f972f6b649fedc9259f6b93a18fb970
treeec5c05f3527a5a6b5053b88ab6b1bedc2a6f51fe
parentcde26a6e17ec36f6f20102a7e5767c2a0096c95f
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>
scripts/kconfig/confdata.c