]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: warn on unnecessary int declarations
authorJoe Perches <joe@perches.com>
Wed, 22 Aug 2018 04:58:12 +0000 (21:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Aug 2018 17:52:49 +0000 (10:52 -0700)
commitae177a6759fc5c251d40a973019f7a9473e1ad24
tree22a0a8cba7371397e8b8a733f928ea2eb1690822
parentf92a26e434fb6aeb12035899ffabb42e34652547
checkpatch: warn on unnecessary int declarations

On Sun, 2018-08-05 at 08:52 -0700, Linus Torvalds wrote:
> "long unsigned int" isn't _technically_ wrong. But we normally
> call that type "unsigned long".

So add a checkpatch test for it.

Link: http://lkml.kernel.org/r/7bbd97dc0a1e5896a0251fada7bb68bb33643f77.camel@perches.com
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