[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e301110c6aa504be56ec73a355d3aa9215fc9633.camel@perches.com>
Date: Tue, 28 Jul 2020 17:25:50 -0700
From: Joe Perches <joe@...ches.com>
To: Alex Elder <elder@...e.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
Johan Hovold <johan@...nel.org>, Alex Elder <elder@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: greybus-dev@...ts.linaro.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] greybus: Use fallthrough pseudo-keyword
On Tue, 2020-07-28 at 17:37 -0500, Alex Elder wrote:
> On 7/27/20 1:32 PM, Gustavo A. R. Silva wrote:
> > Replace the existing /* fall through */ comments and its variants with
> > the new pseudo-keyword macro fallthrough[1].
> >
> > [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through
>
> Thanks for the patch. It looks good, but it raises
> another question I'd like discussion on.
>
> It seems that Johan likes default (or final) cases in
> switch statements without a "break" statement. Viresh
> and Bryan appear to be fond of this too.
>
> It's pedantic, but I don't like that. Am I wrong?
No, you are not wrong.
Powered by blists - more mailing lists