Input: atmel_mxt_ts - mark expected switch fall-through
Subsystems (3)
PATCH 1/1 Input: atmel_mxt_ts - mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through.
Signed-off-by Gustavo A. R. Silva <[email protected]>
--- drivers/input/touchscreen/atmel_mxt_ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/touchscreen/atmel_mxt_ts.c +1 -1
@@ -488,7 +488,7 @@ static int mxt_lookup_bootloader_address(struct mxt_data *data, bool retry) bootloader = appmode -0x24 ;break ; } -/* Fall through for normal case */ +/* Fall through - for normal case */ case 0x4c :case 0x4d :case 0x5a :
Signature · 1 line
2.7.4
Quoted 4 lines · Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through.
Signed-off-by Gustavo A. R. Silva <[email protected]>
Applied, thank you.
Quoted 20 lines
--- drivers/input/touchscreen/atmel_mxt_ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/input/touchscreen/atmel_mxt_ts.c +1
-1@@ -488,7 +488,7 @@ static int mxt_lookup_bootloader_address(struct mxt_data *data, bool retry) bootloader = appmode -0x24 ;break ; } -/* Fall through for normal case */ +/* Fall through - for normal case */ case 0x4c :case 0x4d :case 0x5a :Signature · 1 line
2.7.4
Signature · 1 line
Dmitry
Quoted 8 lines · Dmitry Torokhov
Quoted 4 lines · Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through.
Signed-off-by Gustavo A. R. Silva <[email protected]>Applied, thank you.
Thanks, Dmitry.
--
Gustavo