aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2014-01-27 17:07:18 -0800
committerLinus Torvalds <[email protected]>2014-01-27 21:02:40 -0800
commitb36190c5f85724da1871bfb8eddbeb77a45c4952 (patch)
treed424160e8bed505f1073709e0d5504068784f8d2 /tools/perf/util/trace-event-scripting.c
parenta3978a519461b095b776f44a86079f5448c96963 (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 <[email protected]> Cc: Richard Weinberger <[email protected]> Cc: Borislav Petkov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions