[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1460351050.1800.69.camel@perches.com>
Date: Sun, 10 Apr 2016 22:04:10 -0700
From: Joe Perches <joe@...ches.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Andy Whitcroft <apw@...dowen.org>
Cc: "alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Takashi Iwai <tiwai@...e.de>,
"Harvey, Ryan" <Ryan.Harvey@...rus.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] checkpatch: Improve missing break for switch/case tests
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.
Powered by blists - more mailing lists