summaryrefslogtreecommitdiffstats
path: root/scripts/checkdeclares.pl
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2022-11-15 12:01:58 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2022-11-22 22:42:38 +0900
commit534bd70374d646f17e2cebe0e6e4cdd478ce4f0c (patch)
tree3f386c4bd90f83b4fe787503fcff67927fb65836 /scripts/checkdeclares.pl
parenteb7081409f94a9a8608593d0fb63a1aa3d6f95d8 (diff)
downloadlinux-534bd70374d646f17e2cebe0e6e4cdd478ce4f0c.tar.bz2
init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
When using dash as /bin/sh, the CC_HAS_ASM_GOTO_TIED_OUTPUT test fails with a syntax error which is not the one we are looking for: <stdin>: In function ‘foo’: <stdin>:1:29: warning: missing terminating " character <stdin>:1:29: error: missing terminating " character <stdin>:2:5: error: expected ‘:’ before ‘+’ token <stdin>:2:7: warning: missing terminating " character <stdin>:2:7: error: missing terminating " character <stdin>:2:5: error: expected declaration or statement at end of input Removing '\n' solves this. Fixes: 1aa0e8b144b6 ("Kconfig: Add option for asm goto w/ tied outputs to workaround clang-13 bug") Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Reviewed-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/checkdeclares.pl')
0 files changed, 0 insertions, 0 deletions