mirror-linux/scripts/kconfig
Jurica Vukadin 8a3876f8c7 kconfig: Update config changed flag before calling callback
[ Upstream commit ee06a3ef7e ]

Prior to commit 5ee5465940 ("kconfig: change sym_change_count to a
boolean flag"), the conf_updated flag was set to the new value *before*
calling the callback. xconfig's save action depends on this behaviour,
because xconfig calls conf_get_changed() directly from the callback and
now sees the old value, thus never enabling the save button or the
shortcut.

Restore the previous behaviour.

Fixes: 5ee5465940 ("kconfig: change sym_change_count to a boolean flag")
Signed-off-by: Jurica Vukadin <jura@vukad.in>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-22 13:33:52 +01:00
..
lxdialog
tests
.gitignore
Makefile
conf.c Kconfig: remove sym_set_choice_value 2022-09-29 04:40:15 +09:00
confdata.c kconfig: Update config changed flag before calling callback 2023-03-22 13:33:52 +01:00
expr.c
expr.h
gconf-cfg.sh
gconf.c
gconf.glade
images.c
images.h
internal.h
lexer.l
list.h
lkc.h Kconfig: remove sym_set_choice_value 2022-09-29 04:40:15 +09:00
lkc_proto.h
mconf-cfg.sh
mconf.c
menu.c kconfig: fix segmentation fault in menuconfig search 2022-11-02 17:32:05 +09:00
merge_config.sh
nconf-cfg.sh
nconf.c
nconf.gui.c
nconf.h
parser.y
preprocess.c
qconf-cfg.sh
qconf.cc
qconf.h
streamline_config.pl
symbol.c
util.c