From: Gustavo A. R. Silva Date: Wed, 25 Oct 2017 18:49:38 +0000 (-0500) Subject: usb: host: xhci-hub: mark expected switch fall-through X-Git-Tag: rel_imx_4.19.35_1.1.0~11322^2~84 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=ff504f572cf8667414a44e88c06ea0d421b42566;p=linux.git usb: host: xhci-hub: 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci-hub.c b/drivers/usb/host/xhci-hub.c index 9762333d8d7f..3693b1f487e5 100644 --- a/drivers/usb/host/xhci-hub.c +++ b/drivers/usb/host/xhci-hub.c @@ -1377,6 +1377,7 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, break; case USB_PORT_FEAT_C_SUSPEND: bus_state->port_c_suspend &= ~(1 << wIndex); + /* fall through */ case USB_PORT_FEAT_C_RESET: case USB_PORT_FEAT_C_BH_PORT_RESET: case USB_PORT_FEAT_C_CONNECTION: