checkpatch: add types for other OS typedefs
authorJoe Perches <joe@perches.com>
Fri, 13 Feb 2015 22:38:43 +0000 (14:38 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 14 Feb 2015 05:21:39 +0000 (21:21 -0800)
commit021158b4c7bd8d0ec4dc8d09c013288429da7ee2
tree0eebaf471c91b6f38a7b2a158f9349ae3a01a80e
parentb671fde0572af42495ce3183969b0cafa98fd9ec
checkpatch: add types for other OS typedefs

bsd and sysv use different typedefs for unsigned types.

These are in types.h but not in checkpatch, so add them to checkpatch's
ability to know types.

This can avoid false positives for code like:

void foo(void)
{
int x;
uint y;

[...];
}

where checkpatch incorrectly emits a warning for "missing a blank line
after declarations".

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl