Messages in this thread | | | Subject | Re: [PATCH] iio: sca3000: Mark expected switch fall-through | From | "Gustavo A. R. Silva" <> | Date | Sat, 7 Jul 2018 12:22:37 -0500 |
| |
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@embeddedor.com> 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@embeddedor.com> > > 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
| |