MdeModulePkg: Reproduce builds across source format changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3688 Use DEBUG_LINE_NUMBER instead of __LINE__. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Tested-by: Michael Kubacki <michael.kubacki@microsoft.com>
This commit is contained in:
parent
f331310a10
commit
77dcd03ecf
|
@ -874,7 +874,7 @@ NotifyPhase (
|
|||
Translation = GetTranslationByResourceType (RootBridge, Index);
|
||||
if ((Translation & Alignment) != 0) {
|
||||
DEBUG ((DEBUG_ERROR, "[%a:%d] Translation %lx is not aligned to %lx!\n",
|
||||
__FUNCTION__, __LINE__, Translation, Alignment
|
||||
__FUNCTION__, DEBUG_LINE_NUMBER, Translation, Alignment
|
||||
));
|
||||
ASSERT ((Translation & Alignment) == 0);
|
||||
//
|
||||
|
|
|
@ -574,7 +574,7 @@ BmRepairAllControllers (
|
|||
BmRepairAllControllers (ReconnectRepairCount + 1);
|
||||
} else {
|
||||
DEBUG ((DEBUG_ERROR, "[%a:%d] Repair failed after %d retries.\n",
|
||||
__FUNCTION__, __LINE__, ReconnectRepairCount));
|
||||
__FUNCTION__, DEBUG_LINE_NUMBER, ReconnectRepairCount));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue