forked from Minki/linux
usb: class: usbtmc: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4dce3c4b9b
commit
e4c6594dab
@ -1343,6 +1343,7 @@ static void usbtmc_interrupt(struct urb *urb)
|
|||||||
case -EOVERFLOW:
|
case -EOVERFLOW:
|
||||||
dev_err(dev, "overflow with length %d, actual length is %d\n",
|
dev_err(dev, "overflow with length %d, actual length is %d\n",
|
||||||
data->iin_wMaxPacketSize, urb->actual_length);
|
data->iin_wMaxPacketSize, urb->actual_length);
|
||||||
|
/* fall through */
|
||||||
case -ECONNRESET:
|
case -ECONNRESET:
|
||||||
case -ENOENT:
|
case -ENOENT:
|
||||||
case -ESHUTDOWN:
|
case -ESHUTDOWN:
|
||||||
|
Loading…
Reference in New Issue
Block a user