From 8e1ac15ab89d289a42bd687a91b94d1c4284d3f1 Mon Sep 17 00:00:00 2001 From: klu2 Date: Tue, 11 Nov 2008 15:50:13 +0000 Subject: 1, Add for all source that use device path utility macros 2, Add DevicePathLib library class to module's INF that use device path utility macros git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6460 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'DuetPkg/PciBusNoEnumerationDxe') diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c b/DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c index a33ce38af7..83ab7de0f6 100644 --- a/DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c +++ b/DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c @@ -598,8 +598,8 @@ Returns: // // Get the next device path // - CurrentDevicePath = EfiNextDevicePathNode (RemainingDevicePath); - if (EfiIsDevicePathEnd (CurrentDevicePath)) { + CurrentDevicePath = NextDevicePathNode (RemainingDevicePath); + if (IsDevicePathEnd (CurrentDevicePath)) { return EFI_SUCCESS; } -- cgit v1.2.3