linux/scripts/kconfig
Masahiro Yamada 87c0d2ab8a kconfig: fix return value of do_error_if()
[ Upstream commit 135b4957ea ]

$(error-if,...) is expanded to an empty string. Currently, it relies on
eval_clause() returning xstrdup("") when all attempts for expansion fail,
but the correct implementation is to make do_error_if() return xstrdup("").

Fixes: 1d6272e6fe ("kconfig: add 'info', 'warning-if', and 'error-if' built-in functions")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:54:01 +01:00
..
lxdialog
tests
.gitignore
conf.c
confdata.c
expr.c
expr.h
gconf-cfg.sh
gconf.c
gconf.glade
images.c
images.h
lexer.l
list.h
lkc_proto.h
lkc.h
Makefile
mconf-cfg.sh
mconf.c
menu.c
merge_config.sh
nconf-cfg.sh
nconf.c
nconf.gui.c
nconf.h
parser.y
preprocess.c kconfig: fix return value of do_error_if() 2020-12-30 11:54:01 +01:00
qconf-cfg.sh
qconf.cc
qconf.h
streamline_config.pl
symbol.c
util.c