diff options
author | Joe Perches <joe@perches.com> | 2014-08-06 16:11:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-06 18:01:29 -0700 |
commit | e81f239b4db2ad6c4b029ed92f0222601ce42abe (patch) | |
tree | e031acf2105cba2579c89556e80c0143a54b75f0 /virt | |
parent | 1813087dbc54ff1485bcc84b66d34052eaf23387 (diff) | |
download | linux-e81f239b4db2ad6c4b029ed92f0222601ce42abe.tar.bz2 |
checkpatch: fix false positive MISSING_BREAK warnings with --file
Using --file mode can give false positives with MISSING_BREAK
fall-through warnings on simple but long multiple consecutive case
statements.
Look for all lines before a case statement for a switch or a statement
when using --file mode.
Fix a misspelling of preceded while there.
Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions