[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VdxXw0_W+MytA72sBfYT6nr=xHc+tTsTp7GPLnR9EgOVg@mail.gmail.com>
Date: Tue, 20 Oct 2020 14:46:38 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: "Vaittinen, Matti" <Matti.Vaittinen@...rohmeurope.com>
Cc: "bgolaszewski@...libre.com" <bgolaszewski@...libre.com>,
"trix@...hat.com" <trix@...hat.com>,
"linus.walleij@...aro.org" <linus.walleij@...aro.org>,
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>
Subject: Re: [PATCH] gpio: bd70528: remove unneeded break
On Tue, Oct 20, 2020 at 2:26 PM Vaittinen, Matti
<Matti.Vaittinen@...rohmeurope.com> wrote:
> On Mon, 2020-10-19 at 12:33 -0700, trix@...hat.com wrote:
> > - break;
> My personal taste is also to omit these breaks but I am pretty sure I
> saw some tooling issuing a warning about falling through the switch-
> case back when I wrote this. Most probably checkpatch didn't like that
> back then. Anyways - if you have no warnings from any of the tools -
> this indeed looks better (to me) without the break :)
JFYI: it's a clang which actually *is* complaining for an extra break.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists