Skip to content

Commit

Permalink
checkpatch: accept any sized le/be type
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy Whitcroft authored and Linus Torvalds committed Oct 16, 2008
1 parent b132e5d commit afbe8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
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},
Expand Down

0 comments on commit afbe8d2

Please sign in to comment.