usb: host: xhci-mem: mark expected switch fall-through
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Wed, 25 Oct 2017 18:49:10 +0000 (13:49 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Nov 2017 16:02:15 +0000 (17:02 +0100)
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>
drivers/usb/host/xhci-mem.c

index 795219a397d336bc0ee87b6d03dfe3d1463428f3..57be885fb5440b928bfc6071edf7b55ce4770146 100644 (file)
@@ -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
                 * endpoints.
                 */
+               /* fall through */
 
        case USB_SPEED_LOW:
                if (usb_endpoint_xfer_int(&ep->desc) ||