CID 1399723: Missing break in switch in pci_read_addressable().

Closes #4279
---
 cpukit/libpci/pci_cfg_read.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpukit/libpci/pci_cfg_read.c b/cpukit/libpci/pci_cfg_read.c
index 0783743..3cb6f86 100644
--- a/cpukit/libpci/pci_cfg_read.c
+++ b/cpukit/libpci/pci_cfg_read.c
@@ -73,6 +73,7 @@ static int pci_read_addressable(struct pci_dev *dev, struct 
pci_res *res)
                break;
        case PCI_RES_MEM:
                range1 = &bus->dev.resources[BRIDGE_RES_MEM];
+               /* Fall through */
        default:
        case PCI_RES_MEMIO:
                range0 = &bus->dev.resources[BRIDGE_RES_MEMIO];
-- 
1.8.3.1

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to