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

Gustavo A. R. Silva gustavo at embeddedor.com
Fri Oct 5 14:20:07 PDT 2018


Hi Martin,

On 10/5/18 11:10 PM, Martin Blumenstingl wrote:
> 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!
> 

Glad to help. :)

Thanks
--
Gustavo



More information about the linux-amlogic mailing list