From: Gustavo A. R. Silva Date: Fri, 8 Feb 2019 19:16:47 +0000 (-0600) Subject: net: wimax/i2400m: mark expected switch fall-through X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=671f2f96813569fcc4bac306cb5a61752de9b91d;p=linux.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/wimax/i2400m/usb.c b/drivers/net/wimax/i2400m/usb.c index f8eb66ef2944e..73842a8306451 100644 --- a/drivers/net/wimax/i2400m/usb.c +++ b/drivers/net/wimax/i2400m/usb.c @@ -210,6 +210,7 @@ retry: 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 */