Masahiro Yamada
16536ce0df
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: 3b9a19e08960 ("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 16:35:59 +01:00
..
2017-08-10 01:01:03 +09:00
2019-06-11 12:21:51 +02:00
2017-11-02 11:10:55 +01:00
2019-10-05 12:48:05 +02:00
2019-12-05 15:37:04 +01:00
2017-11-02 11:10:55 +01:00
2020-02-28 16:35:59 +01:00
2017-03-28 16:16:52 +02:00
2019-12-17 20:38:30 +01:00
2018-05-30 07:52:21 +02:00
2019-05-04 09:15:17 +02:00
2017-11-02 11:10:55 +01:00
2017-06-23 14:17:38 -06:00
2018-05-30 07:52:17 +02:00
2016-12-12 18:55:06 -08:00
2017-05-14 11:20:44 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-02-03 11:49:06 +01:00
2017-10-03 17:54:26 -07:00
2019-06-25 11:36:53 +08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:53:06 +01:00
2017-11-02 11:10:55 +01:00
2016-10-11 15:06:30 -07:00
2019-09-16 08:20:46 +02:00
2017-11-02 11:10:55 +01:00
2018-09-15 09:45:36 +02:00
2017-11-02 11:10:55 +01:00
2017-05-14 11:20:44 +09:00
2017-05-14 11:20:44 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-07 11:12:17 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-07-07 15:09:09 -07:00
2017-05-14 11:20:44 +09:00
2017-08-08 11:09:31 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-25 14:26:33 +01:00
2017-11-02 11:10:55 +01:00
2020-01-04 13:59:51 +01:00
2019-05-02 09:40:27 +02:00
2018-02-25 11:07:58 +01:00
2017-11-02 11:10:55 +01:00
2017-11-06 11:46:42 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-01-13 10:01:03 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-08 13:03:34 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-16 20:23:04 +01:00
2018-03-15 10:54:33 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-08-25 10:50:14 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-05-14 11:20:44 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-03-13 09:40:28 -07:00
2019-10-29 09:16:59 +01:00
2017-03-11 11:13:38 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-01-29 15:02:37 +01:00
2019-07-31 07:28:53 +02:00
2017-05-14 11:20:44 +09:00
2019-11-06 12:42:55 +01:00
2017-02-10 12:43:47 +11:00
2016-11-14 11:11:51 +11:00
2017-10-03 17:54:23 -07:00
2019-08-16 10:13:51 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-06-06 08:42:34 +09:00
2018-12-08 13:03:35 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00