From: Gustavo A. R. Silva Date: Wed, 25 Oct 2017 18:49:01 +0000 (-0500) Subject: usb: host: xhci: mark expected switch fall-through X-Git-Tag: rel_imx_4.19.35_1.1.0~11322^2~89 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=7d864999814e777fe083c2fd156112ccf9058882;p=linux.git usb: host: xhci: 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.c b/drivers/usb/host/xhci.c index ee077a21dfda..05db6e977ba1 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -4294,6 +4294,7 @@ static unsigned long long xhci_calculate_intel_u1_timeout( break; } /* Otherwise the calculation is the same as isoc eps */ + /* fall through */ case USB_ENDPOINT_XFER_ISOC: timeout_ns = xhci_service_interval_to_ns(desc); timeout_ns = DIV_ROUND_UP_ULL(timeout_ns * 105, 100);