diff options
author | Andy Whitcroft <apw@shadowen.org> | 2008-10-16 01:02:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 14:21:37 -0400 |
commit | afbe8d283b97b2317dab900fb11d2a8878ee3c23 (patch) | |
tree | ff555e381fef88472de262ad94c22e22943981dd | |
parent | b132e5d5865325a9aa42b122c4c466903bf48348 (diff) |
checkpatch: accept any sized le/be type
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>
-rwxr-xr-x | scripts/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 6eceda7a4bd9..bb88df2d001b 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -159,7 +159,7 @@ our @typeList = ( | |||
159 | qr{float}, | 159 | qr{float}, |
160 | qr{double}, | 160 | qr{double}, |
161 | qr{bool}, | 161 | qr{bool}, |
162 | qr{(?:__)?(?:u|s|be|le)(?:8|16|32|64)}, | 162 | qr{(?:__)?(?:u|s|be|le)(?:\d|\d\d)}, |
163 | qr{struct\s+$Ident}, | 163 | qr{struct\s+$Ident}, |
164 | qr{union\s+$Ident}, | 164 | qr{union\s+$Ident}, |
165 | qr{enum\s+$Ident}, | 165 | qr{enum\s+$Ident}, |