summaryrefslogtreecommitdiffstats
path: root/scripts/recordmcount.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-12-20 03:18:42 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-30 11:54:01 +0100
commit87c0d2ab8a8e0bf7bf5d0abf0d695aeab6a8af3b (patch)
treef27069403b5c9d51dc673bfcfdf66f820546ae81 /scripts/recordmcount.c
parentedc71c5fe563a99a8af1c5a1253d34a244bf9e13 (diff)
downloadlinux-stable-87c0d2ab8a8e0bf7bf5d0abf0d695aeab6a8af3b.tar.gz
linux-stable-87c0d2ab8a8e0bf7bf5d0abf0d695aeab6a8af3b.tar.bz2
linux-stable-87c0d2ab8a8e0bf7bf5d0abf0d695aeab6a8af3b.zip
kconfig: fix return value of do_error_if()
[ Upstream commit 135b4957eac43af2aedf8e2a277b9540f33c2558 ] $(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: 1d6272e6fe43 ("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>
Diffstat (limited to 'scripts/recordmcount.c')
0 files changed, 0 insertions, 0 deletions