net: wimax/i2400m: mark expected switch fall-through
Subsystems (2)
PATCH 1/1 net: wimax/i2400m: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through.
Warning level 3 was used: -Wimplicit-fallthrough=3
This patch is part of the ongoing efforts to enabling -Wimplicit-fallthrough.
Signed-off-by Gustavo A. R. Silva <[email protected]>
--- drivers/net/wimax/i2400m/usb.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wimax/i2400m/usb.c +1 -0
@@ -210,6 +210,7 @@ int __i2400mu_send_barker(struct i2400mu *i2400mu,msleep (10 );/* give the device some time */ goto retry; } +/* fall through */ case -EINVAL :/* while removing driver */ case -ENODEV :/* dev disconnect ... */ case -ENOENT :/* just ignore it */
Signature · 1 line
2.20.1
From: "Gustavo A. R. Silva" <[email protected]>
Date: Fri, 8 Feb 2019 13:16:47 -0600
Quoted 9 lines
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through.
Warning level 3 was used: -Wimplicit-fallthrough=3
This patch is part of the ongoing efforts to enabling -Wimplicit-fallthrough.
Signed-off-by Gustavo A. R. Silva <[email protected]>
Applied.