Re: [PATCH] checkpatch: Improve missing break for switch/case tests

From: Joe Perches
Date: Mon Apr 11 2016 - 01:09:53 EST


On Sun, 2016-04-10 at 19:26 -0700, Joe Perches wrote:
> The current switch/case test doesn't handle ... case labels like:
>
> switch (foo) {
> case bar ... baz:
> etc...
> }
>
> Add a specific regex for that form and the default label.
> Use the regex where a case label is tested.

Please ignore, the patch is defective as
it has too many false positives.