From: Gustavo A. R. Silva Date: Tue, 7 Aug 2018 23:09:19 +0000 (-0500) Subject: alteon: acenic: mark expected switch fall-through X-Git-Tag: v4.19-rc1~140^2~94^2~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ea34505060486010f27e323c741eeca5af7980e;p=thirdparty%2Fkernel%2Flinux.git alteon: acenic: mark expected switch fall-through In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 114891 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/alteon/acenic.c b/drivers/net/ethernet/alteon/acenic.c index 08945baee48ad..4f11f98347ede 100644 --- a/drivers/net/ethernet/alteon/acenic.c +++ b/drivers/net/ethernet/alteon/acenic.c @@ -551,6 +551,7 @@ static int acenic_probe_one(struct pci_dev *pdev, ap->name); break; } + /* Fall through */ case PCI_VENDOR_ID_SGI: printk(KERN_INFO "%s: SGI AceNIC ", ap->name); break;