Re: [PATCH] i2c: s3c2410: Mark expected switch fall-through

2019-08-01 Thread Wolfram Sang
On Sun, Jul 28, 2019 at 06:51:38PM -0500, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warning: > > drivers/i2c/busses/i2c-s3c2410.c: In function 'i2c_s3c_irq_nextbyte': > drivers/i2c/busses/i2c-s3c2410.c:431:6: warning:

Re: [PATCH] i2c: s3c2410: Mark expected switch fall-through

2019-07-29 Thread Kees Cook
On Sun, Jul 28, 2019 at 06:51:38PM -0500, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warning: > > drivers/i2c/busses/i2c-s3c2410.c: In function 'i2c_s3c_irq_nextbyte': > drivers/i2c/busses/i2c-s3c2410.c:431:6: warning:

[PATCH] i2c: s3c2410: Mark expected switch fall-through

2019-07-28 Thread Gustavo A. R. Silva
Mark switch cases where we are expecting to fall through. This patch fixes the following warning: drivers/i2c/busses/i2c-s3c2410.c: In function 'i2c_s3c_irq_nextbyte': drivers/i2c/busses/i2c-s3c2410.c:431:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (i2c->state ==