Commit fb9e9096 authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Linus Torvalds
Browse files

checkpatch: limit sN/uN matches to actual bit sizes

Limit our type matcher to the s/u/le/be etc sizes that actually exist to
prevent miss categorising s2 as a type.  Fix up the spelling of the error
Signed-off-by: default avatarAndy Whitcroft <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent ea71a0a0
......@@ -182,7 +182,7 @@ our $UTF8 = qr {
our $typeTypedefs = qr{(?x:
......@@ -1936,7 +1936,7 @@ sub process {
# A unary '*' may be const
} elsif ($ctx =~ /.xW/) {
ERROR("Aspace prohibited after that '$op' $at\n" . $hereptr);
ERROR("space prohibited after that '$op' $at\n" . $hereptr);
# unary ++ and unary -- are allowed no space on one side.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment