mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 15:26:48 +07:00
usb: host: fotg210-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:
parent
f10f4715bd
commit
c3a831aedb
@ -5449,7 +5449,7 @@ static void fotg210_endpoint_disable(struct usb_hcd *hcd,
|
||||
qh_destroy(fotg210, 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.
|
||||
|
Loading…
Reference in New Issue
Block a user