projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b132e5d
)
checkpatch: accept any sized le/be type
author
Andy Whitcroft
<apw@shadowen.org>
Thu, 16 Oct 2008 05:02:31 +0000
(22:02 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:37 +0000
(11:21 -0700)
We are likely going to have 24 bit types. Expand the type matcher to
match any size.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl
patch
|
blob
|
blame
|
history
diff --git
a/scripts/checkpatch.pl
b/scripts/checkpatch.pl
index 6eceda7a4bd9d43acb530d92dcd34a6cf0e39601..bb88df2d001bfdbc289f8d5ec2ff5fce4c424108 100755
(executable)
--- a/
scripts/checkpatch.pl
+++ b/
scripts/checkpatch.pl
@@
-159,7
+159,7
@@
our @typeList = (
qr{float},
qr{double},
qr{bool},
- qr{(?:__)?(?:u|s|be|le)(?:
8|16|32|64
)},
+ qr{(?:__)?(?:u|s|be|le)(?:
\d|\d\d
)},
qr{struct\s+$Ident},
qr{union\s+$Ident},
qr{enum\s+$Ident},