summary refs log tree commit diff
path: root/block
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2016-01-14 18:13:49 +0000
committerMichal Marek <mmarek@suse.com>2016-02-01 15:12:40 +0100
commit6b87b70c5339f30e3c5b32085e69625906513dc2 (patch)
treef545cfb4ce45da55cb323ed8ca2c97c5b6bf1504 /block
parent42f9d3c6888bceef6dc7ba72c77acf47347dcf05 (diff)
downloadlinux-6b87b70c5339f30e3c5b32085e69625906513dc2.tar.gz
unbreak allmodconfig KCONFIG_ALLCONFIG=...
	Prior to 3.13 make allmodconfig KCONFIG_ALLCONFIG=/dev/null used
to be equivalent to make allmodconfig; these days it hardwires MODULES to n.
In fact, any KCONFIG_ALLCONFIG that doesn't set MODULES explicitly is
treated as if it set it to n.

	Regression had been introduced by commit cfa98f ("kconfig: do not
override symbols already set"); what happens is that conf_read_simple()
does sym_calc_value(modules_sym) on exit, which leaves SYMBOL_VALID set and
has conf_set_all_new_symbols() skip modules_sym.

	It's pretty easy to fix - simply move that call of sym_calc_value()
into the callers, except for the ones in KCONFIG_ALLCONFIG handling.
Objections?

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Fixes: cfa98f2e0ae9 ("kconfig: do not override symbols already set")
Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions