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
Application/FirmwareUpdate
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
FvInfoPei
FvbRuntimeDxe Vlv2TbltDevicePkg/FvbRuntimeDxe: correct NumOfLba vararg type in EraseBlocks() 2017-05-26 14:41:13 +08:00
Include
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
PlatformGopPolicy
PlatformInfoDxe
PlatformInitPei Vlv2TbltDevicePkg/PlatformInitPei: Better SMRAM size alignment 2016-12-07 08:57:06 -08:00
PlatformPei
PlatformSetupDxe
PlatformSmm
PpmPolicy
SaveMemoryConfig
SmBiosMiscDxe Vlv2TbltDevicePkg/SmBiosMiscDxe: rebase to ARRAY_SIZE() 2016-10-27 11:15:21 +02:00
SmmSwDispatch2OnSmmSwDispatchThunk
SmramSaveInfoHandlerSmm
Stitch
UiApp
VlvPlatformInitDxe
Wpce791
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
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
cln.sh