]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/boot: fix section name escaping
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 12 Aug 2019 21:50:34 +0000 (14:50 -0700)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 31 Oct 2019 16:20:52 +0000 (17:20 +0100)
commit4f84b383511de8dabc9bed2b98d2918830723527
tree042d3bfac2f1acfa034a7030c9e91a0ef76981dc
parentcceb018377a123dd77d3239bbdbfbdf50f0d6a71
s390/boot: fix section name escaping

GCC unescapes escaped string section names while Clang does not. Because
__section uses the `#` stringification operator for the section name, it
doesn't need to be escaped.

This antipattern was found with:
$ grep -e __section\(\" -e __section__\(\" -r

Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
Suggested-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Message-Id: <20190812215052.71840-1-ndesaulniers@google.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/boot/startup.c