Re: [PATCH] iio: sca3000: Mark expected switch fall-through

From: Gustavo A. R. Silva
Date: Sat Jul 07 2018 - 13:23:00 EST


Hi Jonathan,

On 07/07/2018 12:03 PM, Jonathan Cameron wrote:
> On Tue, 3 Jul 2018 14:39:34 -0500
> "Gustavo A. R. Silva" <gustavo@xxxxxxxxxxxxxx> wrote:
>
>> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
>> where we are expecting to fall through.
>>
>> Signed-off-by: Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>
>
> Looks like a bug to me not an unmarked fall through.
>
> Should be return ret;
>

I see.

> Do you want to do the patch?
>

Sure thing. I'll send a patch shortly.

Thanks for the feedback.
--
Gustavo