audk/Vlv2TbltDevicePkg
Laszlo Ersek aff463c825 Vlv2TbltDevicePkg/FvbRuntimeDxe: correct NumOfLba vararg type in EraseBlocks()
According to the PI spec, Volume 3,
EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL.EraseBlocks():

> The variable argument list is a list of tuples. Each tuple describes a
> range of LBAs to erase and consists of the following:
> * An EFI_LBA that indicates the starting LBA
> * A UINTN that indicates the number of blocks to erase

(NB, in edk2, EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL is a typedef to
EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL.)

In this driver, the NumOfLba local variable is defined with type UINTN,
but the TYPE argument passed to VA_ARG() is UINT32. Fix the mismatch.

Cc: David Wei <david.wei@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Mang Guo <mang.guo@intel.com>
Reported-by: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2017-05-26 14:41:13 +08:00
..
AcpiPlatform Vlv2TbltDevicePkg/AcpiPlatform: Amend the declaration of mGlobalNvsArea 2016-08-03 11:02:17 +08:00
Application/FirmwareUpdate Vlv2TbltDevicePkg/FirmwareUpdate: rebase to ARRAY_SIZE() 2016-10-27 11:15:20 +02:00
BootScriptSaveDxe Vlv2TbltDevicePkg/BootScriptSaveDxe: save 64-bit LoopTimes 2017-01-03 12:23:41 +01:00
Feature/Capsule Vlv2TbltDevicePkg/PlatformFlashAccessLib: Fix IA32 build issues 2016-11-29 08:17:50 -08:00
FspAzaliaConfigData
FspSupport Vlv2TbltDevicePkg: Fix typos in comments 2016-10-27 14:31:55 +08:00
FvInfoPei
FvbRuntimeDxe Vlv2TbltDevicePkg/FvbRuntimeDxe: correct NumOfLba vararg type in EraseBlocks() 2017-05-26 14:41:13 +08:00
Include Vlv2TbltDevicePkg: Fix typos in comments 2016-10-27 14:31:55 +08:00
IntelGopDepex
Library Vlv2TbltDevicePkg/PlatformBdsLib: Add DebugAgent Console 2016-12-05 13:48:14 -08:00
Logo
Metronome
MonoStatusCode
Override/IntelFrameworkModulePkg/Library/GenericBdsLib
PciPlatform
PlatformCpuInfoDxe
PlatformDxe Vlv2TbltDevicePkg: Fix typos in comments 2016-10-27 14:31:55 +08:00
PlatformGopPolicy Vlv2TbltDevicePkg: Fix typos in comments 2016-10-27 14:31:55 +08:00
PlatformInfoDxe
PlatformInitPei Vlv2TbltDevicePkg/PlatformInitPei: Better SMRAM size alignment 2016-12-07 08:57:06 -08:00
PlatformPei Vlv2TbltDevicePkg/PlatformPei: rebase to ARRAY_SIZE() 2016-10-27 11:15:21 +02:00
PlatformSetupDxe Vlv2TbltDevicePkg/PlatformSetupDxe: rebase to ARRAY_SIZE() 2016-10-27 11:15:21 +02:00
PlatformSmm
PpmPolicy Vlv2TbltDevicePkg/PpmPolicy: Remove the unused variable 2016-08-03 11:08:34 +08:00
SaveMemoryConfig
SmBiosMiscDxe Vlv2TbltDevicePkg/SmBiosMiscDxe: rebase to ARRAY_SIZE() 2016-10-27 11:15:21 +02:00
SmmSwDispatch2OnSmmSwDispatchThunk
SmramSaveInfoHandlerSmm
Stitch
UiApp
VlvPlatformInitDxe Vlv2TbltDevicePkg/VlvPlatformInitDxe: Remove unused variables 2016-08-03 11:08:30 +08:00
Wpce791 Vlv2TbltDevicePkg/Wpce791: Remove the unused variable 2016-08-03 11:08:31 +08:00
BfmLib.exe
BiosIdD.env
BiosIdR.env
BiosIdx64D.env
BiosIdx64R.env
Build_IFWI.bat Vlv2TbltDevicePkg: Add /m flag for multi-processor build 2016-11-30 10:21:23 -08:00
Build_IFWI.sh
Contributions.txt
FCE.exe
GenBiosId
GenBiosId.exe
License.txt
PlatformCapsule.dsc Vlv2TbltDevicePkg/dsc/fdf: add capsule generation DSC/FDF. 2016-11-08 22:49:53 +08:00
PlatformCapsule.fdf Vlv2TbltDevicePkg/dsc/fdf: add capsule generation DSC/FDF. 2016-11-08 22:49:53 +08:00
PlatformCapsuleGcc.fdf Vlv2TbltDevicePkg/dsc/fdf: add capsule generation DSC/FDF. 2016-11-08 22:49:53 +08:00
PlatformPkg.dec Vlv2TbltDevicePkg/dec: Correct wrong default value. 2016-09-07 16:44:41 +08:00
PlatformPkg.fdf Vlv2TbltDevicePkg: Remove SMM binary modules from FDF 2016-11-29 08:17:50 -08:00
PlatformPkgConfig.dsc Vlv2TbltDevicePkg: Set CAPSULE_ENABLE to TRUE 2016-11-29 08:17:50 -08:00
PlatformPkgGcc.fdf Vlv2TbltDevicePkg: Remove SMM binary modules from FDF 2016-11-29 08:17:50 -08:00
PlatformPkgGccX64.dsc Vlv2TbltDevicePkg: Fix build failure by adding UefiBootManagerLib 2017-04-01 13:20:11 +08:00
PlatformPkgIA32.dsc Vlv2TbltDevicePkg: Fix build failure by adding UefiBootManagerLib 2017-04-01 13:20:11 +08:00
PlatformPkgX64.dsc Vlv2TbltDevicePkg: Fix build failure by adding UefiBootManagerLib 2017-04-01 13:20:11 +08:00
bldX64.bat
bld_vlv.bat Vlv2TbltDevicePkg: Add /m flag for multi-processor build 2016-11-30 10:21:23 -08:00
bld_vlv.sh Vlv2TbltDevicePkg: Amend the build script 2016-08-03 11:02:11 +08:00
cln.sh