checkpatch: add warning for unnamed function definition arguments
authorJoe Perches <joe@perches.com>
Tue, 11 Oct 2016 20:52:16 +0000 (13:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 11 Oct 2016 22:06:31 +0000 (15:06 -0700)
commitca0d8929e75ab1f860f61208d46955f280a1b05e
tree5e13f83f48303772b88c38b38194ab1fdcebf132
parent5207649b7b1d2b1e1f8c97df91debfaa8de37669
checkpatch: add warning for unnamed function definition arguments

Function definitions without identifiers like
 int foo(int)
are not preferred.  Emit a warning when they occur.

Link: http://lkml.kernel.org/r/94fe6378504745991b650f48fc92bb4648f25706.1474925354.git.joe@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