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 Nt32Pkg: Convert all .uni files to utf-8 2015-12-15 04:57:08 +00:00
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 Enable the SE_TIME_ZONE_NAME privilege for NT32 to fix SetTime function test running in Win7 2011-10-24 06:57:57 +00:00
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 We enabled X64 native version NT32, and made it works on Windows 7 X64 OS. 2013-10-12 06:31:55 +00:00
TimerDxe Nt32Pkg: Fix typos in comments 2016-07-11 10:29:45 +08:00
WinNtAutoScanPei Nt32Pkg: Fix asserts from running Nt32 64-bit on Win8 2016-01-25 04:45:55 +00:00
WinNtBlockIoDxe We enabled X64 native version NT32, and made it works on Windows 7 X64 OS. 2013-10-12 06:31:55 +00:00
WinNtBusDriverDxe
WinNtFirmwareVolumePei Nt32Pkg: Fix typos in comments and variables 2016-11-15 11:05:33 +08:00
WinNtFlashMapPei Nt32Pkg: Fix asserts from running Nt32 64-bit on Win8 2016-01-25 04:45:55 +00:00
WinNtGopDxe We enabled X64 native version NT32, and made it works on Windows 7 X64 OS. 2013-10-12 06:31:55 +00:00
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 */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
Nt32Pkg.dec Update the Package version. 2011-12-13 08:33:04 +00:00
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