summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/cpuinfo.c
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2019-08-12 14:50:45 -0700
committerWill Deacon <will@kernel.org>2019-08-13 18:32:15 +0100
commit80d838122643a09a9f99824adea4b4261e4451e6 (patch)
tree26543584d8c5a700c1d366cefe309cd91cca6e6e /arch/arm64/kernel/cpuinfo.c
parent08f103b9a9502974109fab47ea35ca8542c4e57a (diff)
downloadlwn-80d838122643a09a9f99824adea4b4261e4451e6.tar.gz
lwn-80d838122643a09a9f99824adea4b4261e4451e6.zip
arm64: prefer __section from compiler_attributes.h
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> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/cpuinfo.c')
0 files changed, 0 insertions, 0 deletions