Fix up for new CompareGuid
Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
parent
a093fe0378
commit
c14705b746
@ -543,7 +543,7 @@ _DevPathVendor (
|
||||
}
|
||||
|
||||
CatPrint(Str, u"Ven%s(%g", Type, &Vendor->Guid);
|
||||
if (CompareGuid (&Vendor->Guid, &UnknownDevice) == 0) {
|
||||
if (CompareGuid (&Vendor->Guid, &UnknownDevice)) {
|
||||
//
|
||||
// GUID used by EFI to enumerate an EDD 1.1 device
|
||||
//
|
||||
|
@ -225,7 +225,7 @@ LibLocateHandleByDiskSignature (
|
||||
}
|
||||
break;
|
||||
case SIGNATURE_TYPE_GUID:
|
||||
if (CompareGuid((EFI_GUID *)Signature,(EFI_GUID *)(&(HardDriveDevicePath->Signature[0]))) == 0) {
|
||||
if (CompareGuid((EFI_GUID *)Signature,(EFI_GUID *)(&(HardDriveDevicePath->Signature[0])))) {
|
||||
Match = TRUE;
|
||||
}
|
||||
break;
|
||||
|
@ -526,7 +526,7 @@ LibGetSystemConfigurationTable(
|
||||
UINTN Index;
|
||||
|
||||
for(Index=0;Index<ST->NumberOfTableEntries;Index++) {
|
||||
if (CompareGuid(TableGuid,&(ST->ConfigurationTable[Index].VendorGuid))==0) {
|
||||
if (CompareGuid(TableGuid,&(ST->ConfigurationTable[Index].VendorGuid))) {
|
||||
*Table = ST->ConfigurationTable[Index].VendorTable;
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user