]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiCpuPkg: fix ASSERT_EFI_ERROR() typos
authorLaszlo Ersek <lersek@redhat.com>
Tue, 28 Jun 2016 11:47:52 +0000 (13:47 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Thu, 30 Jun 2016 15:27:38 +0000 (17:27 +0200)
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>
UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmProfileArch.c

index 79e23ef6476ea0a9e3bcb9713e8d7d04a499d397..065fb2c24c7dcf02322b900e123518776a8caaa0 100644 (file)
@@ -78,7 +78,7 @@ InitPagesForPFHandler (
   //\r
   Address = NULL;\r
   Address = AllocatePages (MAX_PF_PAGE_COUNT);\r
-  ASSERT_EFI_ERROR (Address != NULL);\r
+  ASSERT (Address != NULL);\r
 \r
   mPFPageBuffer =  (UINT64)(UINTN) Address;\r
   mPFPageIndex = 0;\r