Date: Tue, 26 Apr 2016 20:06:35 +0000 (UTC) From: "Conrad E. Meyer" <cem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298662 - head/sys/dev/pci Message-ID: <201604262006.u3QK6ZEs028764@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604262006.u3QK6ZEs028764>