A number of code locations use ASSERT_EFI_ERROR (BooleanExpression)
instead of ASSERT (BooleanExpression) Fix them. Cc: Jeff Fan <[email protected]> Reported-by: Gerd Hoffmann <[email protected]> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <[email protected]> --- UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmProfileArch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmProfileArch.c b/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmProfileArch.c index 79e23ef6476e..065fb2c24c7d 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmProfileArch.c +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmProfileArch.c @@ -78,7 +78,7 @@ InitPagesForPFHandler ( // Address = NULL; Address = AllocatePages (MAX_PF_PAGE_COUNT); - ASSERT_EFI_ERROR (Address != NULL); + ASSERT (Address != NULL); mPFPageBuffer = (UINT64)(UINTN) Address; mPFPageIndex = 0; -- 1.8.3.1 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

