]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d6919cdf9efd86de473b81d64f1b076bbe0554d
tree5e13f83f48303772b88c38b38194ab1fdcebf132
parent3e7d0bb2c2f67bac94edc6b4d6ad9a9c37b02ef2
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