diff options
author | Laszlo Ersek <lersek@redhat.com> | 2016-06-28 13:47:52 +0200 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-07 15:18:01 +0800 |
commit | 6105aa75618e02c0ebd9314087496f1a0cc705a4 (patch) | |
tree | 613b51d5f91477b049d09ecd6238b800bc1b8776 | |
parent | a9d1d6692d4b5d782edeea64f91d006568e602c8 (diff) | |
download | edk2-platforms-6105aa75618e02c0ebd9314087496f1a0cc705a4.tar.xz |
UefiCpuPkg: fix ASSERT_EFI_ERROR() typos
A number of code locations use
ASSERT_EFI_ERROR (BooleanExpression)
instead of
ASSERT (BooleanExpression)
Fix them.
Cc: Jeff Fan <jeff.fan@intel.com>
Reported-by: Gerd Hoffmann <kraxel@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
(cherry picked from commit ef3e20e3ca77204d69e741c720e0552d822ded0f)
-rw-r--r-- | UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmProfileArch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmProfileArch.c b/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmProfileArch.c index 79e23ef647..065fb2c24c 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;
|