//\r
// Get the next device path\r
//\r
- CurrentDevicePath = EfiNextDevicePathNode (RemainingDevicePath);\r
- if (EfiIsDevicePathEnd (CurrentDevicePath)) {\r
+ CurrentDevicePath = NextDevicePathNode (RemainingDevicePath);\r
+ if (IsDevicePathEnd (CurrentDevicePath)) {\r
return EFI_SUCCESS;\r
}\r
\r
//\r
Node.DevPath = RemainingDevicePath;\r
if (Node.DevPath->Type != HARDWARE_DEVICE_PATH ||\r
- Node.DevPath->SubType != HW_PCI_DP &&\r
+ Node.DevPath->SubType != HW_PCI_DP ||\r
DevicePathNodeLength (Node.DevPath) != sizeof (PCI_DEVICE_PATH)\r
) {\r
return EFI_UNSUPPORTED;\r