Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1375494

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

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject Re: [PATCH] checkpatch: Improve missing break for switch/case tests
Date 2016-04-11 07:10 +0200
Message-ID <rmCgP-ro-5@gated-at.bofh.it> (permalink)
References <rmzLY-6Ud-5@gated-at.bofh.it> <rmzLY-6Ud-7@gated-at.bofh.it> <rmzLY-6Ud-9@gated-at.bofh.it> <rmzLY-6Ud-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] checkpatch: Improve missing break for switch/case tests Joe Perches <joe@perches.com> - 2016-04-11 04:30 +0200
  Re: [PATCH] checkpatch: Improve missing break for switch/case tests Joe Perches <joe@perches.com> - 2016-04-11 07:10 +0200

csiph-web