commit | a1ce18e4f941d2039aa3bdeee17db968919eac2f | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Tue Mar 15 14:58:03 2016 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Mar 15 16:55:16 2016 -0700 |
tree | 821e8cb94d940ab81a47e7f67bd2b4a78ccc1b3f | |
parent | 42e152931deba7500e756c39e8e2df2e244860f2 [diff] |
checkpatch: warn on bare unsigned or signed declarations without int Kernel style prefers "unsigned int <foo>" over "unsigned <foo>" and "signed int <foo>" over "signed <foo>". Emit a warning for these simple signed/unsigned <foo> declarations. Fix it too if desired. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>