commit | b36190c5f85724da1871bfb8eddbeb77a45c4952 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Mon Jan 27 17:07:18 2014 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Jan 27 21:02:40 2014 -0800 |
tree | d424160e8bed505f1073709e0d5504068784f8d2 | |
parent | a3978a519461b095b776f44a86079f5448c96963 [diff] |
checkpatch.pl: check for function declarations without arguments Functions like this one are evil: void foo() { ... } Because these functions allow variadic arguments without checking the arguments at all. Original patch by Richard Weinberger. Signed-off-by: Joe Perches <joe@perches.com> Cc: Richard Weinberger <richard@nod.at> Cc: Borislav Petkov <bp@alien8.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>