X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FLibrary%2FVarCheckHiiLib%2FVarCheckHiiGenFromFv.c;fp=MdeModulePkg%2FLibrary%2FVarCheckHiiLib%2FVarCheckHiiGenFromFv.c;h=71ece272e1bbef9d453a84343c06c4e5a3438370;hb=39cde03cc5efd67c11dc75cd5ba5e8ccf55c5594;hp=21fc80e89c1ad8242b463a2cf81db165584bc1e9;hpb=dc2109946df2522974a058b0bca5530befdea1cd;p=mirror_edk2.git diff --git a/MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGenFromFv.c b/MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGenFromFv.c index 21fc80e89c..71ece272e1 100644 --- a/MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGenFromFv.c +++ b/MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGenFromFv.c @@ -1,7 +1,7 @@ /** @file Var Check Hii generation from FV. -Copyright (c) 2015, Intel Corporation. All rights reserved.
+Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -372,7 +372,7 @@ CreateVfrDriverList ( UINTN Index; VAR_CHECK_VFR_DRIVER_INFO *VfrDriverInfo; - for (Index = 0; !CompareGuid (&DriverGuidArray[Index], &gZeroGuid); Index++) { + for (Index = 0; !IsZeroGuid (&DriverGuidArray[Index]); Index++) { DEBUG ((EFI_D_INFO, "CreateVfrDriverList: %g\n", &DriverGuidArray[Index])); VfrDriverInfo = InternalVarCheckAllocateZeroPool (sizeof (*VfrDriverInfo)); ASSERT (VfrDriverInfo != NULL); @@ -421,7 +421,7 @@ VarCheckHiiGenFromFv ( // DriverGuidArray = (EFI_GUID *) PcdGetPtr (PcdVarCheckVfrDriverGuidArray); - if (CompareGuid (&DriverGuidArray[0], &gZeroGuid)) { + if (IsZeroGuid (&DriverGuidArray[0])) { // // No VFR driver will be parsed from FVs. //