aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMichal Zylowski <[email protected]>2018-08-21 21:58:08 -0700
committerLinus Torvalds <[email protected]>2018-08-22 10:52:49 -0700
commit6ad724e2a48fc24dd9788490d85a3490cb0117c1 (patch)
tree01ad0efaeb18b10fae8e0af5df84d2acd0d70d2b /tools/perf/scripts/python/stackcollapse.py
parent56294112791ac11c6fcdc6544f1381f9272202db (diff)
checkpatch: check for space after "else" keyword
Current checkpatch implementation permits notation like } else{ in kernel code. It looks like oversight and inconsistency in checkpatch rules (e.g. instruction like 'do' is tested). Add regex for checking space after 'else' keyword and trigger error if space is not present. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Michal Zylowski <[email protected]> Acked-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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions