diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-02-08 20:16:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-08 20:56:32 +0100 |
commit | 671f2f96813569fcc4bac306cb5a61752de9b91d (patch) | |
tree | 1fcea7a93cf6cde13e887566544264445c3c8d28 /drivers/net/wimax/i2400m | |
parent | net: fddi: skfp: Mark expected switch fall-through (diff) | |
download | linux-671f2f96813569fcc4bac306cb5a61752de9b91d.tar.xz linux-671f2f96813569fcc4bac306cb5a61752de9b91d.zip |
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 <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wimax/i2400m')
-rw-r--r-- | drivers/net/wimax/i2400m/usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wimax/i2400m/usb.c b/drivers/net/wimax/i2400m/usb.c index f8eb66ef2944..73842a830645 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 */ |