git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3978a5
)
checkpatch.pl: check for function declarations without arguments
author
Joe Perches
<joe@perches.com>
Tue, 28 Jan 2014 01:07:18 +0000
(17:07 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 28 Jan 2014 05:02:40 +0000
(21:02 -0800)
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>
scripts/checkpatch.pl
patch
|
blob
|
history
diff --cc
scripts/checkpatch.pl
Simple merge