USB: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
169d3606dc
commit
25b22e353c
@@ -89,6 +89,7 @@ static void appledisplay_complete(struct urb *urb)
|
||||
dev_err(dev,
|
||||
"OVERFLOW with data length %d, actual length is %d\n",
|
||||
ACD_URB_BUFFER_LEN, pdata->urb->actual_length);
|
||||
/* fall through */
|
||||
case -ECONNRESET:
|
||||
case -ENOENT:
|
||||
case -ESHUTDOWN:
|
||||
|
Reference in New Issue
Block a user