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:
Ryan Long
2021-03-01 16:33:10 -05:00
committed by Joel Sherrill
parent b84ce61aa3
commit 0d33d10613

View File

@@ -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];