Re: [PATCH] checkpatch: Allow case labels with ranges

2014-07-21 Thread Lee Jones
On Mon, 21 Jul 2014, Joe Perches wrote: > On Mon, 2014-07-21 at 14:21 +0100, Lee Jones wrote: > > On Mon, 21 Jul 2014, Joe Perches wrote: > > > The MISSING_BREAK / fallthrough test does not support > > > gcc's extension for case labels with ranges. > [] > > Yep, that's much worse [1] - I wish I ne

Re: [PATCH] checkpatch: Allow case labels with ranges

2014-07-21 Thread Joe Perches
On Mon, 2014-07-21 at 14:21 +0100, Lee Jones wrote: > On Mon, 21 Jul 2014, Joe Perches wrote: > > The MISSING_BREAK / fallthrough test does not support > > gcc's extension for case labels with ranges. [] > Yep, that's much worse [1] - I wish I never mentioned it. ;) I'm glad you did actually. The

Re: [PATCH] checkpatch: Allow case labels with ranges

2014-07-21 Thread Lee Jones
On Mon, 21 Jul 2014, Joe Perches wrote: > The MISSING_BREAK / fallthrough test does not support > gcc's extension for case labels with ranges. > > Add it. > > Signed-off-by: Joe Perches > Reported-by: Lee Jones > --- > scripts/checkpatch.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 delet

[PATCH] checkpatch: Allow case labels with ranges

2014-07-21 Thread Joe Perches
The MISSING_BREAK / fallthrough test does not support gcc's extension for case labels with ranges. Add it. Signed-off-by: Joe Perches Reported-by: Lee Jones --- scripts/checkpatch.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpa