From: Joe Perches Date: Tue, 18 Dec 2012 00:02:01 +0000 (-0800) Subject: checkpatch: add --strict test for switch/default missing break X-Git-Tag: v3.8-rc1~74^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1e2ad07e78c4bbac9fce4d2e3c0fe60bce091d8;p=pandora-kernel.git 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 Signed-off-by: Joe Perches Cc: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed