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

index 6dda3623a276d34f0926ee225a6becee16226a47..6731f8d8d4c964f601ef8034d30180a3b6f791e4 100644 (file)
@@ -841,7 +841,7 @@ static void quirk_usb_disable_ehci(struct pci_dev *pdev)
                        ehci_bios_handoff(pdev, op_reg_base, cap, offset);
                        break;
                case 0: /* Illegal reserved cap, set cap=0 so we exit */
-                       cap = 0; /* then fallthrough... */
+                       cap = 0; /* fall through */
                default:
                        dev_warn(&pdev->dev,
                                 "EHCI: unrecognized capability %02x\n",