WSL2-Linux-Kernel/scripts/kconfig
Jurica Vukadin c80b2acdb0 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:31:29 +01:00
..
lxdialog
tests
.gitignore
Makefile
conf.c
confdata.c kconfig: Update config changed flag before calling callback 2023-03-22 13:31:29 +01:00
expr.c
expr.h
gconf-cfg.sh kbuild: Allow kernel installation packaging to override pkg-config 2023-02-01 08:27:30 +01:00
gconf.c
gconf.glade
images.c
images.h
internal.h
lexer.l
list.h
lkc.h
lkc_proto.h
mconf-cfg.sh kbuild: Allow kernel installation packaging to override pkg-config 2023-02-01 08:27:30 +01:00
mconf.c
menu.c
merge_config.sh
nconf-cfg.sh kbuild: Allow kernel installation packaging to override pkg-config 2023-02-01 08:27:30 +01:00
nconf.c
nconf.gui.c
nconf.h
parser.y
preprocess.c
qconf-cfg.sh kbuild: Allow kernel installation packaging to override pkg-config 2023-02-01 08:27:30 +01:00
qconf.cc
qconf.h
streamline_config.pl
symbol.c
util.c