diff options
author | Joe Perches <[email protected]> | 2014-06-04 16:12:06 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-06-04 16:54:20 -0700 |
commit | f5ef95b12eb03ae4b3994cdb035612e127b630b9 (patch) | |
tree | 1fe1265d5b6570ba3df3b39b8f2c3a74121e6abb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2ac73b4f685e699ccdfa6855e826df846999d577 (diff) |
checkpatch: warn on #defines ending in semicolon
Using a #define ending in a semicolon is poor style and can lead to
unexpected code paths being executed.
Warn on uses of these #define types:
#define foo[(...)] bar;
#define foo[(...)] \
bar;
Based on a patch from Borislav Petkov.
Signed-off-by: Joe Perches <[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/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions