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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
ff504f572c
commit
098a006927
@@ -841,7 +841,7 @@ static void quirk_usb_disable_ehci(struct pci_dev *pdev)
|
|||||||
ehci_bios_handoff(pdev, op_reg_base, cap, offset);
|
ehci_bios_handoff(pdev, op_reg_base, cap, offset);
|
||||||
break;
|
break;
|
||||||
case 0: /* Illegal reserved cap, set cap=0 so we exit */
|
case 0: /* Illegal reserved cap, set cap=0 so we exit */
|
||||||
cap = 0; /* then fallthrough... */
|
cap = 0; /* fall through */
|
||||||
default:
|
default:
|
||||||
dev_warn(&pdev->dev,
|
dev_warn(&pdev->dev,
|
||||||
"EHCI: unrecognized capability %02x\n",
|
"EHCI: unrecognized capability %02x\n",
|
||||||
|
Reference in New Issue
Block a user