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: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Reviewed-by: David Wei <david.wei@intel.com>
This commit is contained in:
Laszlo Ersek
2016-06-28 13:47:52 +02:00
parent ef3e20e3ca
commit 2bfd84ed45
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. @return EFI_FVB_ATTRIBUTES_2 of the FV identified by Instance.
**/ **/
STATIC STATIC
EFI_FVB_ATTRIBUTES_2 EFI_FVB_ATTRIBUTES_2
FvbGetVolumeAttributes ( FvbGetVolumeAttributes (
@@ -208,7 +208,7 @@ FvbGetLbaAddress (
EFI_LBA NextLba; EFI_LBA NextLba;
EFI_FW_VOL_INSTANCE *FwhInstance; EFI_FW_VOL_INSTANCE *FwhInstance;
EFI_FV_BLOCK_MAP_ENTRY *BlockMap = NULL; EFI_FV_BLOCK_MAP_ENTRY *BlockMap = NULL;
// //
// Find the right instance of the FVB private data. // Find the right instance of the FVB private data.
// //
@@ -512,7 +512,7 @@ FvbSetVolumeAttributes (
EFI_FVB_ATTRIBUTES_2 OldAttributes = 0; EFI_FVB_ATTRIBUTES_2 OldAttributes = 0;
EFI_FVB_ATTRIBUTES_2 *AttribPtr = NULL; EFI_FVB_ATTRIBUTES_2 *AttribPtr = NULL;
EFI_FVB_ATTRIBUTES_2 UnchangedAttributes; EFI_FVB_ATTRIBUTES_2 UnchangedAttributes;
UINT32 Capabilities; UINT32 Capabilities;
UINT32 OldStatus, NewStatus; UINT32 OldStatus, NewStatus;
// //

View File

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

View File

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