]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: wimax/i2400m: mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 8 Feb 2019 19:16:47 +0000 (13:16 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2019 19:56:32 +0000 (11:56 -0800)
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>
drivers/net/wimax/i2400m/usb.c

index f8eb66ef2944ea9630237455cae4faf483b4f609..73842a830645171cf97fcd0da7eae8d8e8f12fd6 100644 (file)
@@ -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 */