usb: host: fotg210-hcd: mark expected switch fall-through
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Wed, 25 Oct 2017 18:48:52 +0000 (13:48 -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/fotg210-hcd.c

index 457cc6525abd6abd01ae39844aa62341356af691..33a4f7ed0d7dbd4289e09144b7eef489770dab07 100644 (file)
@@ -5449,7 +5449,7 @@ idle_timeout:
                        qh_destroy(fotg210, qh);
                        break;
                }
-               /* else FALL THROUGH */
+               /* fall through */
        default:
                /* caller was supposed to have unlinked any requests;
                 * that's not our job.  just leak this memory.