diff options
author | Joe Perches <joe@perches.com> | 2014-01-28 02:07:18 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-28 06:02:40 +0100 |
commit | b36190c5f85724da1871bfb8eddbeb77a45c4952 (patch) | |
tree | d424160e8bed505f1073709e0d5504068784f8d2 /fs/notify/fanotify | |
parent | mm/migrate.c: fix setting of cpupid on page migration twice against normal page (diff) | |
download | linux-b36190c5f85724da1871bfb8eddbeb77a45c4952.tar.xz linux-b36190c5f85724da1871bfb8eddbeb77a45c4952.zip |
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>
Diffstat (limited to 'fs/notify/fanotify')
0 files changed, 0 insertions, 0 deletions