projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efbf972
)
genksyms: keywords: Use __restrict not _restrict
author
Joe Perches
<joe@perches.com>
Sat, 15 Aug 2020 01:38:15 +0000
(18:38 -0700)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Tue, 18 Aug 2020 11:16:46 +0000
(20:16 +0900)
Use the proper form of the RESTRICT keyword.
Quote the comments properly too.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/genksyms/keywords.c
patch
|
blob
|
history
diff --git
a/scripts/genksyms/keywords.c
b/scripts/genksyms/keywords.c
index
7a85c4e
..
057c6ca
100644
(file)
--- a/
scripts/genksyms/keywords.c
+++ b/
scripts/genksyms/keywords.c
@@
-25,9
+25,9
@@
static struct resword {
{ "__int128_t", BUILTIN_INT_KEYW },
{ "__uint128_t", BUILTIN_INT_KEYW },
- // According to rth, c99 defines "_Bool",
__restrict",
__restrict__", "restrict". KAO
+ // According to rth, c99 defines "_Bool",
"__restrict", "
__restrict__", "restrict". KAO
{ "_Bool", BOOL_KEYW },
- { "_restrict", RESTRICT_KEYW },
+ { "_
_
restrict", RESTRICT_KEYW },
{ "__restrict__", RESTRICT_KEYW },
{ "restrict", RESTRICT_KEYW },
{ "asm", ASM_KEYW },