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

index 6e834b83a1040de0a59a9f4cd30a185f558e3fd2..c560a01f49714fd3170288ced9157c51f6aed719 100644 (file)
@@ -1012,7 +1012,7 @@ idle_timeout:
                        qh_destroy(ehci, 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.