aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/alteon/acenic.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-08-07 18:09:19 -0500
committerDavid S. Miller <davem@davemloft.net>2018-08-07 17:54:19 -0700
commit8ea34505060486010f27e323c741eeca5af7980e (patch)
treee820b7d31adc47f09552fe439c8f43c0fc65e44d /drivers/net/ethernet/alteon/acenic.c
parent8390: axnet_cs: Mark expected switch fall-through (diff)
downloadlinux-dev-8ea34505060486010f27e323c741eeca5af7980e.tar.xz
linux-dev-8ea34505060486010f27e323c741eeca5af7980e.zip
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 <gustavo@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/alteon/acenic.c')
-rw-r--r--drivers/net/ethernet/alteon/acenic.c1
1 files changed, 1 insertions, 0 deletions
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;