Re: [PATCH][next] greybus: Use fallthrough pseudo-keyword
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Alex Elder <elder@xxxxxxxx>, "Gustavo A. R. Silva" <gustavoars@xxxxxxxxxx>, Johan Hovold <johan@xxxxxxxxxx>, Alex Elder <elder@xxxxxxxxxx>, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [PATCH][next] greybus: Use fallthrough pseudo-keyword
- From: Joe Perches <joe@xxxxxxxxxxx>
- Date: Tue, 28 Jul 2020 17:25:50 -0700
- In-reply-to: <63871608-e076-26b0-85df-cff11699c3a3@ieee.org>
- References: <20200727183258.GA28571@embeddedor> <63871608-e076-26b0-85df-cff11699c3a3@ieee.org>
- User-agent: Evolution 3.36.3-0ubuntu1
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.
_______________________________________________
greybus-dev mailing list
greybus-dev@xxxxxxxxxxxxxxxx
https://lists.linaro.org/mailman/listinfo/greybus-dev
[Index of Archives]
[Asterisk App Development]
[PJ SIP]
[Gnu Gatekeeper]
[IETF Sipping]
[Info Cyrus]
[ALSA User]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite News]
[Deep Creek Hot Springs]
[Yosemite Campsites]
[ISDN Cause Codes]
[Asterisk Books]