mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 23:12:22 +08:00
pci_cfg_read.c: Fix Missing break in switch (CID #1399723)
CID 1399723: Missing break in switch in pci_read_addressable(). Closes #4279
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user