Re: [PATCH] iio: mma8452: mark expected switch fall-through

2019-03-03 Thread Gustavo A. R. Silva
On 3/3/19 11:04 AM, Jonathan Cameron wrote: >> >> BTW, Jonathan, I wonder if you can apply this one too: >> >> https://lore.kernel.org/patchwork/patch/996804/ >> >> Thanks > Now resolved. The issue here was the code was 'interesting/crazy' so > we needed someone with hardware to rewrite it and

Re: [PATCH] iio: mma8452: mark expected switch fall-through

2019-03-03 Thread Jonathan Cameron
On Wed, 20 Feb 2019 12:07:28 -0600 "Gustavo A. R. Silva" wrote: > On 2/20/19 11:21 AM, Gustavo A. R. Silva wrote: > > > > > > On 2/20/19 6:17 AM, Jonathan Cameron wrote: > >> On Mon, 11 Feb 2019 16:23:18 -0600 > >> "Gustavo A. R. Silva" wrote: > >> > >>> In preparation to enabling -Wimplic

Re: [PATCH] iio: mma8452: mark expected switch fall-through

2019-02-20 Thread Gustavo A. R. Silva
On 2/20/19 11:21 AM, Gustavo A. R. Silva wrote: > > > On 2/20/19 6:17 AM, Jonathan Cameron wrote: >> On Mon, 11 Feb 2019 16:23:18 -0600 >> "Gustavo A. R. Silva" wrote: >> >>> In preparation to enabling -Wimplicit-fallthrough, mark switch >>> cases where we are expecting to fall through. >>> >

Re: [PATCH] iio: mma8452: mark expected switch fall-through

2019-02-20 Thread Gustavo A. R. Silva
On 2/20/19 6:17 AM, Jonathan Cameron wrote: > On Mon, 11 Feb 2019 16:23:18 -0600 > "Gustavo A. R. Silva" wrote: > >> In preparation to enabling -Wimplicit-fallthrough, mark switch >> cases where we are expecting to fall through. >> >> This patch fixes the following warning: >> >> drivers/iio/a

Re: [PATCH] iio: mma8452: mark expected switch fall-through

2019-02-20 Thread Jonathan Cameron
On Mon, 11 Feb 2019 16:23:18 -0600 "Gustavo A. R. Silva" wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch > cases where we are expecting to fall through. > > This patch fixes the following warning: > > drivers/iio/accel/mma8452.c: In function ‘mma8452_probe’: > drivers/ii

[PATCH] iio: mma8452: mark expected switch fall-through

2019-02-11 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. This patch fixes the following warning: drivers/iio/accel/mma8452.c: In function ‘mma8452_probe’: drivers/iio/accel/mma8452.c:1581:6: warning: this statement may fall through [-Wimplicit-

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

2018-07-07 Thread Jonathan Cameron
On Tue, 3 Jul 2018 14:44:36 -0500 "Gustavo A. R. Silva" wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Warning level 2 was used in this case: -Wimplicit-fallthrough=2 > > Signed-off-by: Gustavo A. R. Silva Applied to

[PATCH] iio: mma8452: Mark expected switch fall-through

2018-07-03 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Warning level 2 was used in this case: -Wimplicit-fallthrough=2 Signed-off-by: Gustavo A. R. Silva --- drivers/iio/accel/mma8452.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dri