summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorcem <cem@FreeBSD.org>2016-04-26 20:06:35 +0000
committercem <cem@FreeBSD.org>2016-04-26 20:06:35 +0000
commit6d897538e279d6b51735ab2aa14b15f213ad3467 (patch)
tree51df056eb1c27ef372b3823d3915eb716cc0115d /sys/dev
parent973e9835356274e0b1048152e1e59d363a00bcc9 (diff)
downloadFreeBSD-src-6d897538e279d6b51735ab2aa14b15f213ad3467.zip
FreeBSD-src-6d897538e279d6b51735ab2aa14b15f213ad3467.tar.gz
PCI Enhanced Allocation: Annotate an intentional switch fallthrough
This is a trivial follow-up to r296308. Annotate the intentional fallthrough to make it clear for future readers and linters. Reported by: Coverity CID: 1352716 Discussed with: jhb Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 273ab4b..532351e 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -3691,6 +3691,7 @@ pci_add_resources_ea(device_t bus, device_t dev, int alloc_iov)
case PCIM_EA_P_MEM_PREFETCH:
case PCIM_EA_P_VF_MEM_PREFETCH:
flags = RF_PREFETCHABLE;
+ /* FALLTHROUGH */
case PCIM_EA_P_VF_MEM:
case PCIM_EA_P_MEM:
type = SYS_RES_MEMORY;
OpenPOWER on IntegriCloud