[PATCH] mmc: meson-mx-sdio: mark expected switch fall-through

Martin Blumenstingl martin.blumenstingl at googlemail.com
Fri Oct 5 14:10:12 PDT 2018


On Fri, Oct 5, 2018 at 12:15 PM Gustavo A. R. Silva
<gustavo at embeddedor.com> wrote:
>
> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
>
> Notice that in this particular case, I replaced the "fall-through:"
> comment with a proper "fall through", which is what GCC is
> expecting to find.
>
> Addresses-Coverity-ID: 1373880 ("Missing break in switch")
> Signed-off-by: Gustavo A. R. Silva <gustavo at embeddedor.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>

thank you for taking care of this!


Regards
Martin



More information about the linux-amlogic mailing list