aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2012-12-17 16:02:01 -0800
committerLinus Torvalds <[email protected]>2012-12-17 17:15:19 -0800
commitd1e2ad07e78c4bbac9fce4d2e3c0fe60bce091d8 (patch)
tree41193684d79788aef5d00c817ba570c27c7de02f /tools/perf/scripts/python/bin
parent88982fea52d0115d44b77619afef576f24cdb844 (diff)
checkpatch: add --strict test for switch/default missing break
switch default case is sometimes written as "default:;". This can cause new cases added below the default to be defective. Suggest adding a break; after empty default cases to avoid fallthrough defects. Fixed indentation in the other semicolon test above it. Suggested-by: Peter Senna Tschudin <[email protected]> Signed-off-by: Joe Perches <[email protected]> Cc: Andy Whitcroft <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions