[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <65956cfbd9ac04f312a13b291985eb1ad03e6038.camel@fi.rohmeurope.com>
Date: Thu, 22 Oct 2020 09:23:02 +0000
From: "Vaittinen, Matti" <Matti.Vaittinen@...rohmeurope.com>
To: "joe@...ches.com" <joe@...ches.com>,
"bgolaszewski@...libre.com" <bgolaszewski@...libre.com>,
"trix@...hat.com" <trix@...hat.com>,
"linus.walleij@...aro.org" <linus.walleij@...aro.org>
CC: linux-power <linux-power@...rohmeurope.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"apw@...onical.com" <apw@...onical.com>
Subject: Re: [PATCH] gpio: bd70528: remove unneeded break
Hello,
On Wed, 2020-10-21 at 07:39 -0700, Joe Perches wrote:
> On Wed, 2020-10-21 at 07:25 +0000, Vaittinen, Matti wrote:
> > Hello Joe & All,
> > On Tue, 2020-10-20 at 11:36 -0700, Joe Perches wrote:
> > > On Tue, 2020-10-20 at 11:48 +0000, Vaittinen, Matti wrote:
> []
> > > > And for peeps who have not been following - following function
> > > > triggers the checkpatch error above:
> > >
> > > Huh? what version of checkpatch are you using?
> > > Send it to me please.
> []
> > Please find my version of checkpatch and the patch to trigger the
> > warning attached.
>
> Thanks. This test wasn't particularly useful
> (and had some false positives) and was removed by
>
> commit ef3c005c0eb07a60949191bc6ee407d5f43cc502
> Author: Joe Perches <joe@...ches.com>
> Date: Tue Aug 11 18:35:19 2020 -0700
>
> checkpatch: remove missing switch/case break test
>
> This test doesn't work well and newer compilers are much better
> at emitting this warning.
>
> Signed-off-by: Joe Perches <joe@...ches.com>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
> Cc: Cambda Zhu <cambda@...ux.alibaba.com>
> Link:
> http://lkml.kernel.org/r/7e25090c79f6a69d502ab8219863300790192fe2.camel@perches.com
> Signed-off-by: Linus Torvalds <torvalds@...ux-foundation.org>
>
Thanks for checking this Joe!
And note to self - always check with newest kernel... ;)
(Sorry for bothering)
Br,
Matti Vaittinen
Powered by blists - more mailing lists