Masahiro Yamada
c56ece1d0c
kconfig: fix broken dependency in randconfig-generated .config
...
[ Upstream commit c8fb7d7e48d11520ad24808cfce7afb7b9c9f798 ]
Running randconfig on arm64 using KCONFIG_SEED=0x40C5E904 (e.g. on v5.5)
produces the .config with CONFIG_EFI=y and CONFIG_CPU_BIG_ENDIAN=y,
which does not meet the !CONFIG_CPU_BIG_ENDIAN dependency.
This is because the user choice for CONFIG_CPU_LITTLE_ENDIAN vs
CONFIG_CPU_BIG_ENDIAN is set by randomize_choice_values() after the
value of CONFIG_EFI is calculated.
When this happens, the has_changed flag should be set.
Currently, it takes the result from the last iteration. It should
accumulate all the results of the loop.
Fixes: 3b9a19e089 ("kconfig: loop as long as we changed some symbols in randconfig")
Reported-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-28 15:42:22 +01:00
..
lxdialog
kconfig/[mn]conf: handle backspace (^H) key
2019-05-04 08:49:10 +02:00
.gitignore
kconfig: remove lkc_defs.h from .gitignore and dontdiff
2012-07-13 15:08:25 +02:00
check.sh
kbuild: trivial - remove trailing empty lines
2014-06-10 00:04:06 +02:00
conf.c
kconfig: allow kconfig to handle longer path names
2015-12-10 11:06:10 +01:00
confdata.c
kconfig: fix broken dependency in randconfig-generated .config
2020-02-28 15:42:22 +01:00
expr.c
kconfig: don't crash on NULL expressions in expr_eq()
2020-01-12 11:24:24 +01:00
expr.h
kconfig: allow use of relations other than (in)equality
2015-06-15 14:05:58 +02:00
gconf.c
kconfig: Do not print status messages in make -s mode
2015-04-09 17:44:34 +02:00
gconf.glade
images.c
kxgettext.c
list.h
Replace mentions of "list_struct" to "list_head"
2014-11-20 14:45:15 +01:00
lkc.h
kconfig: Remove unnecessary prototypes from headers
2015-02-25 15:00:17 +01:00
lkc_proto.h
kconfig: Remove unnecessary prototypes from headers
2015-02-25 15:00:17 +01:00
Makefile
kbuild: make sure autoksyms.h exists early
2016-12-01 10:19:22 -08:00
mconf.c
kconfig: Do not print status messages in make -s mode
2015-04-09 17:44:34 +02:00
menu.c
kconfig: Fix automatic menu creation mem leak
2018-05-30 07:50:20 +02:00
merge_config.sh
kconfig/merge_config.sh: Accept a single file
2015-10-14 16:19:37 +02:00
nconf.c
kconfig/[mn]conf: handle backspace (^H) key
2019-05-04 08:49:10 +02:00
nconf.gui.c
kconfig/[mn]conf: handle backspace (^H) key
2019-05-04 08:49:10 +02:00
nconf.h
scripts/kconfig/nconf: dynamically alloc dialog_input_result
2011-09-09 14:40:08 +02:00
POTFILES.in
qconf.cc
kconfig: fix qconf segfault by deleting heap objects
2016-01-11 09:45:08 +01:00
qconf.h
Port xconfig to Qt5 - Source format.
2015-10-14 14:59:03 +02:00
streamline_config.pl
localmodconfig: Fix whitespace repeat count after "tristate"
2016-04-26 18:35:16 -04:00
symbol.c
kconfig/symbol.c: handle choice_values that depend on 'm' symbols
2016-05-10 21:14:27 +02:00
util.c
kconfig: Remove dead code
2015-02-25 15:00:16 +01:00
zconf.gperf
kconfig: warn of unhandled characters in Kconfig commands
2015-08-19 17:05:39 +02:00
zconf.hash.c_shipped
kconfig: Regenerate shipped zconf.{hash,lex}.c files
2015-08-19 17:05:39 +02:00
zconf.l
kconfig: fix memory leak when EOF is encountered in quotation
2019-01-26 09:38:34 +01:00
zconf.lex.c_shipped
kconfig: Regenerate shipped zconf.{hash,lex}.c files
2015-08-19 17:05:39 +02:00
zconf.tab.c_shipped
kconfig: re-generate *.c_shipped files after previous change
2015-06-15 14:05:58 +02:00
zconf.y
kconfig: Don't leak main menus during parsing
2018-05-30 07:50:20 +02:00