]> git.baikalelectronics.ru Git - kernel.git/commit
net: usbnet: mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 3 Sep 2018 18:48:45 +0000 (13:48 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Sep 2018 19:19:25 +0000 (12:19 -0700)
commit6e2bd3367f2dd2369942c001098b2c23198f673d
tree58ba6da3cee9a02a68ce0bbdf550cf14966acebe
parent4526c359e7dede025552a8c8719bddef256bf8c5
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>
drivers/net/usb/usbnet.c