mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 17:00:08 -04:00
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>
This commit is contained in:
committed by
David S. Miller
parent
497e0049b6
commit
8ea3450506
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user