提交 1356cedd 编写于 作者: G Gustavo A. R. Silva 提交者: Greg Kroah-Hartman

usb: host: xhci-mem: mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: NGustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 7d864999
...@@ -1311,6 +1311,7 @@ static unsigned int xhci_get_endpoint_interval(struct usb_device *udev, ...@@ -1311,6 +1311,7 @@ static unsigned int xhci_get_endpoint_interval(struct usb_device *udev,
* since it uses the same rules as low speed interrupt * since it uses the same rules as low speed interrupt
* endpoints. * endpoints.
*/ */
/* fall through */
case USB_SPEED_LOW: case USB_SPEED_LOW:
if (usb_endpoint_xfer_int(&ep->desc) || if (usb_endpoint_xfer_int(&ep->desc) ||
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册