OSDN Git Service

usb: host: oxu210hp-hcd: mark expected switch fall-through
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Wed, 25 Oct 2017 18:49:32 +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/oxu210hp-hcd.c

index ed20fb3..9f8c61e 100644 (file)
@@ -3040,7 +3040,7 @@ idle_timeout:
                        qh_put(qh);
                        break;
                }
-               /* else FALL THROUGH */
+               /* fall through */
        default:
 nogood:
                /* caller was supposed to have unlinked any requests;