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

index 4492482..15ec8f9 100644 (file)
@@ -382,7 +382,7 @@ sanitize:
                        ed_free (ohci, ed);
                        break;
                }
-               /* else FALL THROUGH */
+               /* fall through */
        default:
                /* caller was supposed to have unlinked any requests;
                 * that's not our job.  can't recover; must leak ed.