diff options
author | Joe Perches <[email protected]> | 2015-09-09 15:37:30 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-09-10 13:29:01 -0700 |
commit | 9f5af480f4554aac12e002b6f5c2b04895857700 (patch) | |
tree | a4c8826093272ba4bc1b28f84aa8b83024314129 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 9d3e3c705eb395528fd8f17208c87581b134da48 (diff) |
checkpatch: improve SUSPECT_CODE_INDENT test
Many lines exist like
if (foo)
bar;
where the tabbed indentation of the branch is not one more than the "if"
line above it.
checkpatch should emit a warning on those lines.
Miscellenea:
o Remove comments from branch blocks
o Skip blank lines in block
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions