Re: [PATCH] pinctrl: baytrail: Mark expected switch fall-throughs

From: Linus Walleij
Date: Mon Jul 09 2018 - 09:42:31 EST


On Thu, Jul 5, 2018 at 5:51 PM Gustavo A. R. Silva
<gustavo@xxxxxxxxxxxxxx> wrote:

> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
>
> Addresses-Coverity-ID: 1292308 ("Missing break in switch")
> Addresses-Coverity-ID: 1292309 ("Missing break in switch")

I hope these special tags are accepted by the community at large.
Has there been discussion?

> Signed-off-by: Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>

Patch applied with Mika's ACK.

Yours,
Linus Walleij