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>
Translation = GetTranslationByResourceType (RootBridge, Index);\r
if ((Translation & Alignment) != 0) {\r
DEBUG ((DEBUG_ERROR, "[%a:%d] Translation %lx is not aligned to %lx!\n",\r
- __FUNCTION__, __LINE__, Translation, Alignment\r
+ __FUNCTION__, DEBUG_LINE_NUMBER, Translation, Alignment\r
));\r
ASSERT ((Translation & Alignment) == 0);\r
//\r
BmRepairAllControllers (ReconnectRepairCount + 1);\r
} else {\r
DEBUG ((DEBUG_ERROR, "[%a:%d] Repair failed after %d retries.\n",\r
- __FUNCTION__, __LINE__, ReconnectRepairCount));\r
+ __FUNCTION__, DEBUG_LINE_NUMBER, ReconnectRepairCount));\r
}\r
}\r
\r