diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-09-03 13:48:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-04 12:19:25 -0700 |
commit | 2fc4aa59ab470f1d5124b33c05680e2b2f2c6f65 (patch) | |
tree | 58ba6da3cee9a02a68ce0bbdf550cf14966acebe /drivers | |
parent | e02eef317d71cea307fc033c92d7d30f1d9d86bb (diff) |
net: usbnet: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 1077614 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/usb/usbnet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index 770aa624147f..73aa33364d80 100644 --- a/drivers/net/usb/usbnet.c +++ b/drivers/net/usb/usbnet.c @@ -1527,6 +1527,7 @@ static void usbnet_bh (struct timer_list *t) continue; case tx_done: kfree(entry->urb->sg); + /* fall through */ case rx_cleanup: usb_free_urb (entry->urb); dev_kfree_skb (skb); |