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:
@@ -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;
|
||||
|
||||
//
|
||||
|
@@ -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
|
||||
|
||||
//
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user