mirror of https://github.com/acidanthera/audk.git
Add security check to pass klockwork.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9320 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
02e124209e
commit
9dd44c0be8
|
@ -973,7 +973,12 @@ PciScanBus (
|
||||||
//
|
//
|
||||||
// It is device. Check PCI IOV for Bus reservation
|
// It is device. Check PCI IOV for Bus reservation
|
||||||
//
|
//
|
||||||
|
if (PciDevice == NULL) {
|
||||||
|
//
|
||||||
|
// No PciDevice found, conitue Scan
|
||||||
|
//
|
||||||
|
continue;
|
||||||
|
}
|
||||||
//
|
//
|
||||||
// Go through each function, just reserve the MAX ReservedBusNum for one device
|
// Go through each function, just reserve the MAX ReservedBusNum for one device
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue