audk/Nt32Pkg
Laszlo Ersek d0d7289cce Nt32Pkg/FvbServicesRuntimeDxe: 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: Jordan Justen <jordan.l.justen@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@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>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
2017-05-29 14:42:12 +02:00
..
BootModePei
CpuRuntimeDxe
FvbServicesRuntimeDxe Nt32Pkg/FvbServicesRuntimeDxe: correct NumOfLba vararg type in EraseBlocks() 2017-05-29 14:42:12 +02:00
Include Nt32Pkg: Fix typos in comments and variables 2016-11-15 11:05:33 +08:00
Library Nt32Pkg: Replace [Ascii|Unicode]ValueToString 2017-03-02 09:58:27 +08:00
MetronomeDxe
MiscSubClassPlatformDxe Nt32Pkg: Fixes to correctly set SMBIOS Type 3 2017-01-12 16:46:31 +08:00
RealTimeClockRuntimeDxe
ResetRuntimeDxe
Sec Nt32Pkg SecMain: Update SecMain.inf to support VS2015x86 X64 Mode 2016-12-29 10:07:14 +08:00
SnpNt32Dxe Nt32Pkg/SnpNt32Dxe: Fix hang issue when multiple network interfaces existed 2017-05-09 14:32:16 +08:00
StallPei
TimerDxe Nt32Pkg: Fix typos in comments 2016-07-11 10:29:45 +08:00
WinNtAutoScanPei
WinNtBlockIoDxe
WinNtBusDriverDxe
WinNtFirmwareVolumePei Nt32Pkg: Fix typos in comments and variables 2016-11-15 11:05:33 +08:00
WinNtFlashMapPei
WinNtGopDxe
WinNtOemHookStatusCodeHandlerDxe
WinNtOemHookStatusCodeHandlerPei
WinNtSerialIoDxe Nt32Pkg/WinNtSerialIoDxe: rebase to ARRAY_SIZE() 2016-10-27 11:10:58 +02:00
WinNtSimpleFileSystemDxe Nt32Pkg/WinNtSimpleFileSystemDxe: Fix ASSERT() parsing '\' 2017-01-10 12:35:39 -08:00
WinNtThunkDxe
WinNtThunkPPIToProtocolPei
Contributions.txt
License.txt
Nt32Pkg.dec
Nt32Pkg.dsc Nt32Pkg: Use Shell source code directly 2017-03-17 12:25:14 +08:00
Nt32Pkg.fdf Nt32Pkg: Use Shell source code directly 2017-03-17 12:25:14 +08:00