Ubuntu-focal-kernel/init
Alexandre Belloni 2299dd93a0 init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
BugLink: https://bugs.launchpad.net/bugs/2003896

[ Upstream commit 534bd70374d646f17e2cebe0e6e4cdd478ce4f0c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2023-02-01 15:21:26 +01:00
..
Kconfig init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash 2023-02-01 15:21:26 +01:00
Makefile Kbuild: Handle PREEMPT_RT for version string and magic 2019-08-14 01:10:42 +09:00
calibrate.c
do_mounts.c UBUNTU: SAUCE: Clear Linux: init: do_mounts: recreate /dev/root 2019-11-25 14:56:27 +01:00
do_mounts.h
do_mounts_initrd.c
do_mounts_md.c
do_mounts_rd.c
init_task.c fgraph: Initialize tracing_graph_pause at task creation 2021-03-24 11:11:41 +01:00
initramfs.c initramfs: fix clang build failure 2021-01-20 14:26:14 +01:00
main.c random: handle latent entropy and command line from random_init() 2022-08-26 11:10:31 +02:00
noinitramfs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167 2019-05-30 11:26:39 -07:00
version.c UBUNTU: SAUCE: (no-up) version: Implement version_signature proc file. 2019-11-25 14:56:22 +01:00