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: for-linus-20180825~89^2~94^2~31 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=8ea34505060486010f27e323c741eeca5af7980e;p=linux-block.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 08945baee48a..4f11f98347ed 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;