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>
This commit is contained in:
Laszlo Ersek
2016-06-28 21:25:38 +08:00
committed by david wei
parent f2ae1ef7ec
commit ba53301f50
3 changed files with 8 additions and 8 deletions

View File

@@ -154,7 +154,7 @@ FvbGetVolumeAttributes (
@return EFI_FVB_ATTRIBUTES_2 of the FV identified by Instance.
**/
**/
STATIC
EFI_FVB_ATTRIBUTES_2
FvbGetVolumeAttributes (
@@ -208,7 +208,7 @@ FvbGetLbaAddress (
EFI_LBA NextLba;
EFI_FW_VOL_INSTANCE *FwhInstance;
EFI_FV_BLOCK_MAP_ENTRY *BlockMap = NULL;
//
// Find the right instance of the FVB private data.
//
@@ -512,7 +512,7 @@ FvbSetVolumeAttributes (
EFI_FVB_ATTRIBUTES_2 OldAttributes = 0;
EFI_FVB_ATTRIBUTES_2 *AttribPtr = NULL;
EFI_FVB_ATTRIBUTES_2 UnchangedAttributes;
UINT32 Capabilities;
UINT32 Capabilities;
UINT32 OldStatus, NewStatus;
//

View File

@@ -69,10 +69,10 @@ ConfigureClockGenerator (
EFI_STATUS Status;
EFI_SMBUS_DEVICE_ADDRESS SlaveAddress;
UINT8 Buffer[MAX_CLOCK_GENERATOR_BUFFER_LENGTH];
UINTN Length;
EFI_SMBUS_DEVICE_COMMAND Command;
#if CLKGEN_CONFIG_EXTRA
UINT8 j;
UINTN Length;
EFI_SMBUS_DEVICE_COMMAND Command;
#if CLKGEN_CONFIG_EXTRA
UINT8 j;
#endif
//

View File

@@ -49,7 +49,7 @@ GetPlatformInfoHob (
GuidHob.Raw = GetHobList ();
if (GuidHob.Raw == NULL) {
return EFI_NOT_FOUND;
}
}
if ((GuidHob.Raw = GetNextGuidHob (&gEfiPlatformInfoGuid, GuidHob.Raw)) != NULL) {
*PlatformInfoHob = GET_GUID_HOB_DATA (GuidHob.Guid);