commit | ca0d8929e75ab1f860f61208d46955f280a1b05e | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Tue Oct 11 13:52:16 2016 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Oct 11 15:06:31 2016 -0700 |
tree | 5e13f83f48303772b88c38b38194ab1fdcebf132 | |
parent | 5207649b7b1d2b1e1f8c97df91debfaa8de37669 [diff] |
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>