]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c
fixed ecc and k8 issues.
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Pci / PciBusDxe / PciLib.c
index a27f5606b6d7a44808c863954cb0035d777181ab..615bbaa4dc909c7b9c51e2e8d90eaaa28f400053 100644 (file)
@@ -379,8 +379,9 @@ PciHostBridgeResourceAllocator (
       }\r
     }\r
     //\r
-    // End while\r
+    // End while, at least one Root Bridge should be found.\r
     //\r
+    ASSERT (RootBridgeDev != NULL);\r
 \r
     //\r
     // Notify platform to start to program the resource\r