]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: limit sN/uN matches to actual bit sizes
authorAndy Whitcroft <apw@canonical.com>
Tue, 22 Sep 2009 00:04:38 +0000 (17:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:48 +0000 (07:17 -0700)
commit1c850609d50e2f78dcfa9a08353063d4441878c1
treeb066899e4c5a4ca033babb068acdc7d0132186c5
parentc2e94466aa4901274b5c2a0bc4e986e2b5e0e180
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
also.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl