i2c: synquacer: fix fall-through annotation
Subsystems (2)
PATCH 1/1 i2c: synquacer: fix fall-through annotation
Replace "fallthru" with a proper "fall through" annotation.
This fix is part of the ongoing efforts to enabling -Wimplicit-fallthrough
Signed-off-by Gustavo A. R. Silva <[email protected]>
--- drivers/i2c/busses/i2c-synquacer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/i2c-synquacer.c +1 -1
@@ -404,7 +404,7 @@ static irqreturn_t synquacer_i2c_isr(int irq, void *dev_id)if (i2c->state ==STATE_READ ) goto prepare_read; -/* fallthru */ +/* fall through */ case STATE_WRITE :if (bsr &SYNQUACER_I2C_BSR_LRB ) {
Signature · 1 line
2.7.4
Quoted 6 lines · Gustavo A. R. Silva
Replace "fallthru" with a proper "fall through" annotation.
This fix is part of the ongoing efforts to enabling -Wimplicit-fallthrough
Signed-off-by Gustavo A. R. Silva <[email protected]>
Acked-by Ard Biesheuvel <[email protected]>
Quoted 20 lines
--- drivers/i2c/busses/i2c-synquacer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/i2c/busses/i2c-synquacer.c +1
-2@@ -404,7 +404,7 @@ static irqreturn_t synquacer_i2c_isr(int irq, void *dev_id)if (i2c->state ==STATE_READ ) goto prepare_read; -/* fallthru */ +/* fall through */ case STATE_WRITE :if (bsr &SYNQUACER_I2C_BSR_LRB ) { --2.7.4