svn commit: r298662 - head/sys/dev/pci
Conrad E. Meyer
cem at FreeBSD.org
Tue Apr 26 20:06:36 UTC 2016
Author: cem
Date: Tue Apr 26 20:06:35 2016
New Revision: 298662
URL: https://svnweb.freebsd.org/changeset/base/298662
Log:
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
Modified:
head/sys/dev/pci/pci.c
Modified: head/sys/dev/pci/pci.c
==============================================================================
--- head/sys/dev/pci/pci.c Tue Apr 26 19:57:35 2016 (r298661)
+++ head/sys/dev/pci/pci.c Tue Apr 26 20:06:35 2016 (r298662)
@@ -3691,6 +3691,7 @@ pci_add_resources_ea(device_t bus, devic
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;
More information about the svn-src-all
mailing list