diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-25 20:49:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-01 17:02:16 +0100 |
commit | 098a006927b8843a335503aee2569c3f2b030cb6 (patch) | |
tree | 6dafa47aab72901affb6e55443ceebb420bf459f /drivers/usb/host/pci-quirks.c | |
parent | usb: host: xhci-hub: mark expected switch fall-through (diff) | |
download | linux-098a006927b8843a335503aee2569c3f2b030cb6.tar.xz linux-098a006927b8843a335503aee2569c3f2b030cb6.zip |
usb: host: pci-quirks: mark expected switch fall-through
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/usb/host/pci-quirks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c index 6dda3623a276..6731f8d8d4c9 100644 --- a/drivers/usb/host/pci-quirks.c +++ b/drivers/usb/host/pci-quirks.c @@ -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", |