From: Joe Perches Date: Wed, 6 Aug 2014 23:11:25 +0000 (-0700) Subject: checkpatch: fix false positive MISSING_BREAK warnings with --file X-Git-Tag: cleanup-for-v3.18~96^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e81f239b4db2ad6c4b029ed92f0222601ce42abe;p=pandora-kernel.git 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 Reported-by: Lee Jones Acked-by: Lee Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed