[alsa-devel] [PATCH] checkpatch: Improve missing break for switch/case tests

Joe Perches joe at perches.com
Mon Apr 11 07:04:10 CEST 2016


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.



More information about the Alsa-devel mailing list