diff options
author | Heinrich Schuchardt <[email protected]> | 2017-11-17 15:28:38 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-11-17 16:10:02 -0800 |
commit | 258f79d5a1e49271f5aff38e6c1baeeaad0d82aa (patch) | |
tree | 94e6e19a2986fb989a9cee74cbad5efbf007077e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 25bdda2bd68ae3008759f26058f6f9b9bb2b1cc5 (diff) |
scripts/checkpatch.pl: avoid false warning missing break
void foo(int a)
switch (a) {
case 'h':
fun1();
exit(1);
default:
}
creates a warning "Possible switch case/default not preceded by break or
fallthrough comment".
exit( should be treated like return.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Heinrich Schuchardt <[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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions