mirror of https://github.com/acidanthera/audk.git
ArmPkg: Reproduce builds across source format changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3688 Use DEBUG_LINE_NUMBER instead of __LINE__. Cc: Leif Lindholm <leif@nuviainc.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com> Tested-by: Michael Kubacki <michael.kubacki@microsoft.com>
This commit is contained in:
parent
5948ec3647
commit
f331310a10
|
@ -689,7 +689,7 @@ AddSmbiosProcessorTypeTable (
|
||||||
|
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((DEBUG_ERROR, "[%a]:[%dL] Smbios Type04 Table Log Failed! %r \n",
|
DEBUG ((DEBUG_ERROR, "[%a]:[%dL] Smbios Type04 Table Log Failed! %r \n",
|
||||||
__FUNCTION__, __LINE__, Status));
|
__FUNCTION__, DEBUG_LINE_NUMBER, Status));
|
||||||
}
|
}
|
||||||
FreePool (Type4Record);
|
FreePool (Type4Record);
|
||||||
|
|
||||||
|
|
|
@ -271,7 +271,7 @@ SMBIOS_MISC_TABLE_FUNCTION (MiscBiosVendor)
|
||||||
Status = SmbiosMiscAddRecord ((UINT8*)SmbiosRecord, NULL);
|
Status = SmbiosMiscAddRecord ((UINT8*)SmbiosRecord, NULL);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((DEBUG_ERROR, "[%a]:[%dL] Smbios Type00 Table Log Failed! %r \n",
|
DEBUG ((DEBUG_ERROR, "[%a]:[%dL] Smbios Type00 Table Log Failed! %r \n",
|
||||||
__FUNCTION__, __LINE__, Status));
|
__FUNCTION__, DEBUG_LINE_NUMBER, Status));
|
||||||
}
|
}
|
||||||
|
|
||||||
FreePool (SmbiosRecord);
|
FreePool (SmbiosRecord);
|
||||||
|
|
|
@ -162,7 +162,7 @@ SMBIOS_MISC_TABLE_FUNCTION(MiscSystemManufacturer)
|
||||||
Status = SmbiosMiscAddRecord ((UINT8*)SmbiosRecord, NULL);
|
Status = SmbiosMiscAddRecord ((UINT8*)SmbiosRecord, NULL);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((DEBUG_ERROR, "[%a]:[%dL] Smbios Type01 Table Log Failed! %r \n",
|
DEBUG ((DEBUG_ERROR, "[%a]:[%dL] Smbios Type01 Table Log Failed! %r \n",
|
||||||
__FUNCTION__, __LINE__, Status));
|
__FUNCTION__, DEBUG_LINE_NUMBER, Status));
|
||||||
}
|
}
|
||||||
|
|
||||||
FreePool (SmbiosRecord);
|
FreePool (SmbiosRecord);
|
||||||
|
|
|
@ -196,7 +196,7 @@ SMBIOS_MISC_TABLE_FUNCTION(MiscBaseBoardManufacturer)
|
||||||
Status = SmbiosMiscAddRecord ((UINT8 *)SmbiosRecord, NULL);
|
Status = SmbiosMiscAddRecord ((UINT8 *)SmbiosRecord, NULL);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((DEBUG_ERROR, "[%a]:[%dL] Smbios Type02 Table Log Failed! %r \n",
|
DEBUG ((DEBUG_ERROR, "[%a]:[%dL] Smbios Type02 Table Log Failed! %r \n",
|
||||||
__FUNCTION__, __LINE__, Status));
|
__FUNCTION__, DEBUG_LINE_NUMBER, Status));
|
||||||
}
|
}
|
||||||
|
|
||||||
FreePool (SmbiosRecord);
|
FreePool (SmbiosRecord);
|
||||||
|
|
|
@ -178,7 +178,7 @@ SMBIOS_MISC_TABLE_FUNCTION(MiscChassisManufacturer)
|
||||||
Status = SmbiosMiscAddRecord ((UINT8*)SmbiosRecord, NULL);
|
Status = SmbiosMiscAddRecord ((UINT8*)SmbiosRecord, NULL);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((DEBUG_ERROR, "[%a]:[%dL] Smbios Type03 Table Log Failed! %r \n",
|
DEBUG ((DEBUG_ERROR, "[%a]:[%dL] Smbios Type03 Table Log Failed! %r \n",
|
||||||
__FUNCTION__, __LINE__, Status));
|
__FUNCTION__, DEBUG_LINE_NUMBER, Status));
|
||||||
}
|
}
|
||||||
|
|
||||||
FreePool (SmbiosRecord);
|
FreePool (SmbiosRecord);
|
||||||
|
|
|
@ -158,7 +158,7 @@ SMBIOS_MISC_TABLE_FUNCTION(MiscNumberOfInstallableLanguages)
|
||||||
Status = SmbiosMiscAddRecord ((UINT8*)SmbiosRecord, NULL);
|
Status = SmbiosMiscAddRecord ((UINT8*)SmbiosRecord, NULL);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((DEBUG_ERROR, "[%a]:[%dL] Smbios Type13 Table Log Failed! %r \n",
|
DEBUG ((DEBUG_ERROR, "[%a]:[%dL] Smbios Type13 Table Log Failed! %r \n",
|
||||||
__FUNCTION__, __LINE__, Status));
|
__FUNCTION__, DEBUG_LINE_NUMBER, Status));
|
||||||
}
|
}
|
||||||
|
|
||||||
FreePool (SmbiosRecord);
|
FreePool (SmbiosRecord);
|
||||||
|
|
|
@ -68,7 +68,7 @@ SMBIOS_MISC_TABLE_FUNCTION(MiscBootInformation)
|
||||||
Status = SmbiosMiscAddRecord ((UINT8*)SmbiosRecord, NULL);
|
Status = SmbiosMiscAddRecord ((UINT8*)SmbiosRecord, NULL);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((DEBUG_ERROR, "[%a]:[%dL] Smbios Type32 Table Log Failed! %r \n",
|
DEBUG ((DEBUG_ERROR, "[%a]:[%dL] Smbios Type32 Table Log Failed! %r \n",
|
||||||
__FUNCTION__, __LINE__, Status));
|
__FUNCTION__, DEBUG_LINE_NUMBER, Status));
|
||||||
}
|
}
|
||||||
|
|
||||||
FreePool (SmbiosRecord);
|
FreePool (SmbiosRecord);
|
||||||
|
|
Loading…
Reference in New Issue