projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17ccba6
)
i2c: synquacer: fix fall-through annotation
author
Gustavo A. R. Silva
<
[email protected]
>
Thu, 13 Sep 2018 18:59:13 +0000
(13:59 -0500)
committer
Wolfram Sang
<
[email protected]
>
Mon, 24 Sep 2018 22:06:02 +0000
(
00:06
+0200)
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]
>
Signed-off-by: Wolfram Sang <
[email protected]
>
drivers/i2c/busses/i2c-synquacer.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-synquacer.c
b/drivers/i2c/busses/i2c-synquacer.c
index 915f5edbab3319212c1e22ae3274ce63de468d18..2184b7c3580e0e19052f5bc72e8f2c8b5e7c12e9 100644
(file)
--- a/
drivers/i2c/busses/i2c-synquacer.c
+++ b/
drivers/i2c/busses/i2c-synquacer.c
@@
-404,7
+404,7
@@
static irqreturn_t synquacer_i2c_isr(int irq, void *dev_id)
if (i2c->state == STATE_READ)
goto prepare_read;
- /* fall
thru
*/
+ /* fall
through
*/
case STATE_WRITE:
if (bsr & SYNQUACER_I2C_BSR_LRB) {