From 9c10bff352e0310c98841cbc7f93bb20c2eebbf2 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Mon, 29 Jun 2009 03:21:03 +0000 Subject: [PATCH] fixed ecc and k8 issues. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8674 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c index a27f5606b6..615bbaa4dc 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c +++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c @@ -379,8 +379,9 @@ PciHostBridgeResourceAllocator ( } } // - // End while + // End while, at least one Root Bridge should be found. // + ASSERT (RootBridgeDev != NULL); // // Notify platform to start to program the resource -- 2.39.2