summaryrefslogtreecommitdiffstats
path: root/Vlv2TbltDevicePkg/FvbRuntimeDxe
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-06-28 21:25:38 +0800
committerdavid wei <david.wei@intel.com>2016-07-01 15:04:55 +0800
commitba53301f509fcd092f9d52b7c6e1f7428ec00176 (patch)
tree936c9197b9f3aa325bc596891a24bcbdca00d914 /Vlv2TbltDevicePkg/FvbRuntimeDxe
parentf2ae1ef7ecf6d3124b9d7b2de0a6ca9558b0b4de (diff)
downloadedk2-ba53301f509fcd092f9d52b7c6e1f7428ec00176.tar.gz
Vlv2TbltDevicePkg: fix ASSERT_EFI_ERROR() typos
A number of code locations use ASSERT_EFI_ERROR (BooleanExpression) instead of ASSERT (BooleanExpression) Fix them. Cc: David Wei <david.wei@intel.com> Cc: Tim He <tim.he@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: David Wei <david.wei@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Diffstat (limited to 'Vlv2TbltDevicePkg/FvbRuntimeDxe')
-rw-r--r--Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c b/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c
index da7dce6e13..7c95c107e6 100644
--- a/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c
+++ b/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c
@@ -154,7 +154,7 @@ FvbGetVolumeAttributes (
{
EFI_FW_VOL_INSTANCE * FwInstance = NULL;
FwInstance = GetFvbInstance(Instance);
- ASSERT_EFI_ERROR (FwInstance != NULL);
+ ASSERT (FwInstance != NULL);
if ( FwInstance != NULL ) {
return FwInstance->VolumeHeader.Attributes;
@@ -208,7 +208,7 @@ FvbGetLbaAddress (
StartLba = 0;
Offset = 0;
BlockMap = &(FwhInstance->VolumeHeader.BlockMap[0]);
- ASSERT_EFI_ERROR (BlockMap != NULL);
+ ASSERT (BlockMap != NULL);
//
// Parse the blockmap of the FV to find which map entry the Lba belongs to.
@@ -512,7 +512,7 @@ FvbSetVolumeAttributes (
FwhInstance = GetFvbInstance (Instance);
AttribPtr = (EFI_FVB_ATTRIBUTES_2 *) & (FwhInstance->VolumeHeader.Attributes);
- ASSERT_EFI_ERROR (AttribPtr != NULL);
+ ASSERT (AttribPtr != NULL);
if ( AttribPtr != NULL) {
OldAttributes = *AttribPtr;