usb: host: ehci-hcd: 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:
Gustavo A. R. Silva 2017-10-25 13:49:21 -05:00 committed by Greg Kroah-Hartman
parent f5a3908e88
commit 6ecbf2e915
1 changed files with 1 additions and 1 deletions

View File

@ -1012,7 +1012,7 @@ ehci_endpoint_disable (struct usb_hcd *hcd, struct usb_host_endpoint *ep)
qh_destroy(ehci, qh);
break;
}
/* else FALL THROUGH */
/* fall through */
default:
/* caller was supposed to have unlinked any requests;
* that's not our job. just leak this memory.