Andrew Fish [mailto:af...@apple.com] wrote:

]Sent: Friday, July 24, 2015 12:21 PM
]To: David Woodhouse <dw...@infradead.org>
]Cc: Jordan Justen <jordan.l.jus...@intel.com>; edk2-de...@ml01.01.org; Laszlo 
Ersek <ler...@redhat.com>; ]Paolo Bonzini <pbonz...@redhat.com>
]Subject: Re: [edk2] Enable optimization for gcc x64 builds
]
]
]> On Jul 24, 2015, at 3:33 AM, David Woodhouse <dw...@infradead.org> wrote:
]> 
]> On Fri, 2015-07-24 at 00:08 +0200, Laszlo Ersek wrote:
]>> 
]>>> Any non-EFIAPI function using varargs is broken, isn't it?
]>> 
]>> Correct, with one tweak: any non-EFIAPI function accessing varargs with
]>> the VA_* macros from Base.h is broken.
]> 
]> Can we *make* them break? I don't know, something like 'volatile
]> unsigned long dummy_ecx __asm__("ecx")' where ECX is a reserved
]> register in the SYSV ABI but not MS?
]> 
]> I know, that's a *really* bad example and I don't think you can even
]> assign variables to registers like that any more. But it's just an
]> illustration; can we come up with *something* that makes the VA_LIST
]> macro break at *build* time from a non-EFIAPI function? Ideally on
]> *all* builds, but at least for x86_64 ELF.
]> 
]> An artificial way to keep us honest w.r.t. EFIAPI annotations would
]> also be nice, if Jordan insists on keeping it working. I wonder if we
]> can put them in a separate section, and have a script post-process the
]> objects looking for discrepancies? I also thought about prepending
]> something to the function names, but I can't see how that could be made
]> to work. Any other ideas?
]> 
]
]David,
]
]I like the creativity. The problem is optimization. Functions can get inlined, 
tail called, or the calling ]conventions can be made up by the compiler as an 
optimization. So in general you can’t assume any behavior ]is illegal. The flip 
side of this is I use a debugger that has no clue what EFIAPI is for x86_64, 
but it ]works fine as the debugger can’t make any assumptions due to the 
compiler making optimizations. 
]
]The main reason we don’t map EFIAPI to anything is that the compiler is smart 
enough to know that a ]function is getting exported in some fashion and can’t 
thus can’t be optimized, and must follow the ABI. ]Maybe it would be possible 
to have the compiler warn if an ABI function is not decorated with EFIAPI, it 
]would catch all errors, but it may get a lot of false positives too (might not 
even be possible at -O0)?
]
]Hey but if you get around to hacking the compiler it would be awesome to add 
support for the edk2 Print ]format strings. That way we would get type warnings 
if the arguments don’t match the format specifiers, ]just like printf.

Argument checking for print formats is a great idea. I gave it a try and testing
with DEBUG(()) finds plenty of format problems. Some minor, some serious. 
Probably
the biggest EDK2 print format problem is with INTN/UINTN. If I am not mistaken, 
the
only way to print UINTN values that works for both 32-bit and 64-bit EDK2 is:
    
    DEBUG (("UINTN values: %lx %lx\n", (UINT64)foo1, (UINT64)foo2);

That is because while UINTN can be either 32 or 64 bit, EDK2 has no length 
prefix
that automatically handles the difference. I suppose a macro similar to C99 
PRIxPTR
could be an alternative to the type cast method, but that would have to be 
added.
That method would be more efficient for 32-bit code than the type cast method.

The gcc -Wformat messages are usually clear, but I found one misleading:
format '%g' expects argument of type 'void *', but argument 4 has type 
'EFI_GUID {aka struct <anonymous>
In this case, the entire GUID struct is being passed instead of the GUID address
(due to missing '&').

The checking also catches some obvious typos:
MdeModulePkg\Core\Dxe\Image\Image.c:1706:29: warning: unknown conversion type 
character 'h'
MdeModulePkg\Core\Dxe\Mem\Pool.c:435:7: warning: unknown conversion type 
character ','

The full lists are attached (made with GCC_EXTRA_CC_FLAGS=-Wno-error). Let me 
know of
anything wrong you see. I am going to try to perfect this checking and put it 
into the
Windows hosted gcc tool chains.

Thanks,
Scott


]For gcc/clang this syntax enables all the printf format string vs. argument 
warns for my_printf that exist ]with printf. 
]int  my_printf (void *my_object, const char *my_format, ...)   __attribute__ 
((format (printf, 2, 3)));
]
]It might be possible to add a format attribute to a function that could check 
the calling conventions, but ]the optimizations may happen too late to help?
]
]Thanks,
]
]Andrew Fish
]
]> -- 
]> dwmw2
]> 
]> -- 
]> David Woodhouse                            Open Source Technology Centre
]> david.woodho...@intel.com                              Intel Corporation

d:\edk2build\edk2\MdePkg\Library\PeiMemoryAllocationLib\MemoryAllocationLib.c:220:23:
 warning: format '%X' expects argument of type 'unsigned int', but argument 4 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdePkg\Library\PeiMemoryAllocationLib\MemoryAllocationLib.c:220:23:
 warning: format '%d' expects argument of type 'int', but argument 5 has type 
'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdePkg\Library\PeiMemoryAllocationLib\MemoryAllocationLib.c:229:23:
 warning: format '%X' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdePkg\Library\PeiMemoryAllocationLib\MemoryAllocationLib.c:229:23:
 warning: format '%X' expects argument of type 'unsigned int', but argument 5 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdePkg\Library\PeiMemoryAllocationLib\MemoryAllocationLib.c:292:24:
 warning: format '%d' expects argument of type 'int', but argument 5 has type 
'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdePkg\Library\PeiMemoryAllocationLib\MemoryAllocationLib.c:305:24:
 warning: format '%d' expects argument of type 'int', but argument 5 has type 
'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdePkg\Library\PeiMemoryAllocationLib\MemoryAllocationLib.c:309:26:
 warning: format '%d' expects argument of type 'int', but argument 5 has type 
'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdePkg\Library\PeiMemoryAllocationLib\MemoryAllocationLib.c:329:24:
 warning: format '%d' expects argument of type 'int', but argument 5 has type 
'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Library\MtrrLib\MtrrLib.c:1574:27: warning: format 
'%d' expects argument of type 'int', but argument 3 has type 'UINTN {aka long 
long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Library\MtrrLib\MtrrLib.c:1579:27: warning: format 
'%d' expects argument of type 'int', but argument 3 has type 'UINTN {aka long 
long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\Library\LockBoxLib\LockBoxLib.c:371:30: warning: 
format '%g' expects argument of type 'void *', but argument 4 has type 
'EFI_GUID {aka struct <anonymous>}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\Library\SerializeVariablesLib\SerializeVariablesLib.c:221:7:
 warning: format '%d' expects argument of type 'int', but argument 3 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\Library\SerializeVariablesLib\SerializeVariablesLib.c:221:7:
 warning: format '%d' expects argument of type 'int', but argument 4 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\SecurityPkg\Library\DxeImageVerificationLib\Measurement.c:263:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\SecurityPkg\Library\DxeImageVerificationLib\Measurement.c:263:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\Library\NvVarsFileLib\FsAccess.c:258:5: warning: 
format '%d' expects argument of type 'int', but argument 3 has type 'UINTN {aka 
long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\Library\NvVarsFileLib\FsAccess.c:372:5: warning: 
format '%d' expects argument of type 'int', but argument 3 has type 'UINTN {aka 
long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\Library\LoadLinuxLib\Linux.c:146:23: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 'UINTN 
{aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\SecurityPkg\Library\AuthVariableLib\AuthVariableLib.c:361:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_STATUS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OptionRomPkg\Library\FrameBufferBltLib\FrameBufferBltLib.c:64:25:
 warning: format '%d' expects argument of type 'int', but argument 3 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OptionRomPkg\Library\FrameBufferBltLib\FrameBufferBltLib.c:64:25:
 warning: format '%d' expects argument of type 'int', but argument 4 has type 
'INTN {aka long long int}' [-Wformat=]
d:\edk2build\edk2\OptionRomPkg\Library\FrameBufferBltLib\FrameBufferBltLib.c:64:25:
 warning: format '%d' expects argument of type 'int', but argument 5 has type 
'INTN {aka long long int}' [-Wformat=]
d:\edk2build\edk2\OptionRomPkg\Library\FrameBufferBltLib\FrameBufferBltLib.c:71:23:
 warning: format '%d' expects argument of type 'int', but argument 3 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\Library\XenHypercallLib\XenHypercall.c:38:13: 
warning: format '%d' expects argument of type 'int', but argument 3 has type 
'INTN {aka long long int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\Library\LockBoxLib\LockBoxLib.c:371:30: warning: 
format '%g' expects argument of type 'void *', but argument 4 has type 
'EFI_GUID {aka struct <anonymous>}' [-Wformat=]
d:\edk2build\edk2\ShellPkg\Library\UefiShellLib\UefiShellLib.c:227:27: warning: 
format '%x' expects argument of type 'unsigned int', but argument 3 has type 
'EFI_STATUS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:72:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:76:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:80:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:84:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:84:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:88:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:92:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:92:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:96:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:100:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:100:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:104:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:104:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:108:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:112:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:116:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:216:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:220:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:224:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:229:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:233:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:237:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:242:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:246:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:250:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:255:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:259:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:263:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:323:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:323:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:327:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:327:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:331:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:331:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:335:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:335:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:339:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:339:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:343:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:343:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:347:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:347:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:351:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:351:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:355:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:355:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:359:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:363:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:367:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:407:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:407:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:407:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 5 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:451:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:455:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:459:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:464:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:468:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:472:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:477:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:481:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:485:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:490:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:494:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:498:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:554:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:554:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:558:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:558:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:562:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:562:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:566:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:566:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:570:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:570:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:574:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:574:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:578:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:578:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:582:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:582:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:586:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:586:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:590:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:594:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:598:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:637:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:637:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:637:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 5 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:682:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:686:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:690:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:695:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:699:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:703:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:708:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:712:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:716:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:772:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:772:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:776:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:776:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:780:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:780:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:784:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:784:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:788:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:788:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:792:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:792:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:796:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:796:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:800:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:800:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:804:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:804:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:899:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:899:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:899:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 5 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:927:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:971:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1015:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1058:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1058:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1085:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1108:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1131:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1131:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1165:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1219:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1247:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1365:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1425:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1425:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 5 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1425:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 6 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1455:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1502:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1564:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1637:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINT8 * {aka unsigned char *}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1646:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1647:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1650:25:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1720:27:
 warning: format '%r' expects argument of type 'long long int', but argument 3 
has type 'int' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Library\GenericBdsLib\BdsBoot.c:1473:7:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Library\GenericBdsLib\BdsBoot.c:1473:7:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Library\GenericBdsLib\BdsBoot.c:1473:7:
 warning: format '%x' expects argument of type 'unsigned int', but argument 5 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Library\GenericBdsLib\BdsBoot.c:1473:7:
 warning: format '%x' expects argument of type 'unsigned int', but argument 6 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Library\GenericBdsLib\BdsBoot.c:1473:7:
 warning: format '%x' expects argument of type 'unsigned int', but argument 7 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Library\GenericBdsLib\BdsBoot.c:1473:7:
 warning: format '%x' expects argument of type 'unsigned int', but argument 8 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Library\GenericBdsLib\BdsBoot.c:1473:7:
 warning: format '%x' expects argument of type 'unsigned int', but argument 9 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Library\GenericBdsLib\BdsBoot.c:1473:7:
 warning: format '%x' expects argument of type 'unsigned int', but argument 10 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Library\GenericBdsLib\BdsBoot.c:1473:7:
 warning: format '%x' expects argument of type 'unsigned int', but argument 11 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Library\GenericBdsLib\BdsBoot.c:1473:7:
 warning: format '%x' expects argument of type 'unsigned int', but argument 12 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Library\GenericBdsLib\BdsBoot.c:1473:7:
 warning: format '%x' expects argument of type 'unsigned int', but argument 13 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\Sec\SecMain.c:839:5: warning: format '%x' expects 
argument of type 'unsigned int', but argument 3 has type 'long long unsigned 
int' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\Sec\SecMain.c:839:5: warning: format '%x' expects 
argument of type 'unsigned int', but argument 4 has type 'long long unsigned 
int' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\Sec\SecMain.c:839:5: warning: format '%x' expects 
argument of type 'unsigned int', but argument 5 has type 'UINTN {aka long long 
unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:524:29: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:550:29: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:562:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:617:26: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:617:26: 
warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:856:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'PEI_S3_RESUME_STATE * {aka struct <anonymous> *}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:998:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'ACPI_S3_CONTEXT * {aka struct <anonymous> *}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1000:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1001:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1002:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1003:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1004:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1005:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINT64 {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1006:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1056:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINT64 {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1057:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1058:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINT64 {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1059:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1060:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINT64 {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1061:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINT64 {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1062:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINT64 {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1064:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1065:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1066:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1067:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1068:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\PlatformPei\Platform.c:374:27: warning: format '%x' 
expects argument of type 'unsigned int', but argument 3 has type 'UINTN {aka 
long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Image\Image.c:1706:29: warning: unknown 
conversion type character 'h' in format [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Pei\Image\Image.c:384:36: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 'long 
long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Pei\Hob\Hob.c:104:26: warning: format '%x' 
expects argument of type 'unsigned int', but argument 3 has type 'long long 
unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Pei\Hob\Hob.c:105:26: warning: format '%x' 
expects argument of type 'unsigned int', but argument 3 has type 'long long 
unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Pei\Hob\Hob.c:106:26: warning: format '%x' 
expects argument of type 'unsigned int', but argument 3 has type 'long long 
unsigned int' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\BlockMmioToBlockIoDxe\BlockIo.c:190:23: warning: 
format '%x' expects argument of type 'unsigned int', but argument 4 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\BlockMmioToBlockIoDxe\BlockIo.c:237:23: warning: 
format '%x' expects argument of type 'unsigned int', but argument 4 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\BlockMmioToBlockIoDxe\BlockIo.c:312:23: warning: 
format '%x' expects argument of type 'unsigned int', but argument 3 has type 
'BLOCK_MMIO_PROTOCOL * {aka struct _BLOCK_MMIO_PROTOCOL *}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Pei\FwVol\FwVol.c:500:5: warning: format 
'%x' expects argument of type 'unsigned int', but argument 5 has type 'UINT64 
{aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Pei\FwVol\FwVol.c:592:31: warning: format 
'%d' expects argument of type 'int', but argument 3 has type 'UINTN {aka long 
long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Pei\FwVol\FwVol.c:600:28: warning: format 
'%d' expects argument of type 'int', but argument 3 has type 'UINTN {aka long 
long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Pei\FwVol\FwVol.c:649:29: warning: format 
'%d' expects argument of type 'int', but argument 4 has type 'UINTN {aka long 
long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\CpuDxe\CpuMp.c:1669:23: warning: format '%d' 
expects argument of type 'int', but argument 3 has type 'UINTN {aka long long 
unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Pei\FwVol\FwVol.c:2252:28: warning: format 
'%d' expects argument of type 'int', but argument 3 has type 'UINTN {aka long 
long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Pei\FwVol\FwVol.c:2301:29: warning: format 
'%d' expects argument of type 'int', but argument 4 has type 'UINTN {aka long 
long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Misc\PropertiesTable.c:891:26: warning: 
format '%x' expects argument of type 'unsigned int', but argument 3 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Misc\PropertiesTable.c:1031:28: 
warning: format '%d' expects argument of type 'int', but argument 3 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Misc\PropertiesTable.c:1058:26: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_RUNTIME_IMAGE_ENTRY * {aka struct _EFI_RUNTIME_IMAGE_ENTRY *}' 
[-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Misc\PropertiesTable.c:1067:26: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Misc\PropertiesTable.c:1275:26: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_RUNTIME_IMAGE_ENTRY * {aka struct _EFI_RUNTIME_IMAGE_ENTRY *}' 
[-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Misc\PropertiesTable.c:1330:28: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\FaultTolerantWriteDxe\FtwMisc.c:1177:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\FaultTolerantWriteDxe\FtwMisc.c:1177:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 5 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\FaultTolerantWriteDxe\FtwMisc.c:1178:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\FaultTolerantWriteDxe\FtwMisc.c:1234:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\FaultTolerantWriteDxe\FtwMisc.c:1243:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\XenPvBlkDxe\BlockFront.c:281:26: warning: format '%d' 
expects argument of type 'int', but argument 3 has type 'UINT64 {aka long long 
unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\XenPvBlkDxe\BlockFront.c:387:13: warning: format '%d' 
expects argument of type 'int', but argument 4 has type 'UINT64 {aka long long 
unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\XenPvBlkDxe\BlockFront.c:598:21: warning: format '%p' 
expects argument of type 'void *', but argument 6 has type 'UINTN {aka long 
long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\XenPvBlkDxe\BlockFront.c:598:21: warning: format '%p' 
expects argument of type 'void *', but argument 7 has type 'UINTN {aka long 
long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\FaultTolerantWriteDxe\UpdateWorkingBlock.c:302:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\XenBusDxe\GrantTable.c:165:28: warning: format '%d' 
expects argument of type 'int', but argument 3 has type 'INTN {aka long long 
int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\XenBusDxe\GrantTable.c:185:25: warning: format '%X' 
expects argument of type 'unsigned int', but argument 3 has type 'xen_pfn_t 
{aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\XenBusDxe\GrantTable.c:188:28: warning: format '%d' 
expects argument of type 'int', but argument 3 has type 'INTN {aka long long 
int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\XenPvBlkDxe\BlockIo.c:98:26: warning: format '%X' 
expects argument of type 'unsigned int', but argument 3 has type 'UINTN {aka 
long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\XenPvBlkDxe\BlockIo.c:104:26: warning: format '%x' 
expects argument of type 'unsigned int', but argument 5 has type 'UINTN {aka 
long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\PciBusDxe\PciEnumeratorSupport.c:337:7: 
warning: format '%d' expects argument of type 'int', but argument 3 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\PciBusDxe\PciEnumeratorSupport.c:350:7: 
warning: format '%d' expects argument of type 'int', but argument 3 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\FaultTolerantWriteDxe\FaultTolerantWrite.c:163:5:
 warning: format '%d' expects argument of type 'int', but argument 4 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\FaultTolerantWriteDxe\FaultTolerantWrite.c:419:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\FaultTolerantWriteDxe\FaultTolerantWrite.c:419:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\FaultTolerantWriteDxe\FaultTolerantWrite.c:612:5:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\FaultTolerantWriteDxe\FaultTolerantWrite.c:612:5:
 warning: format '%x' expects argument of type 'unsigned int', but argument 5 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Disk\PartitionDxe\Mbr.c:79:26: 
warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'EFI_LBA {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Console\GraphicsConsoleDxe\GraphicsConsole.c:346:27:
 warning: format '%d' expects argument of type 'int', but argument 3 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Console\GraphicsConsoleDxe\GraphicsConsole.c:346:27:
 warning: format '%d' expects argument of type 'int', but argument 4 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Console\GraphicsConsoleDxe\GraphicsConsole.c:346:27:
 warning: format '%d' expects argument of type 'int', but argument 5 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Disk\DiskIoDxe\DiskIo.c:502:5: 
warning: format '%x' expects argument of type 'unsigned int', but argument 6 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Disk\DiskIoDxe\DiskIo.c:502:5: 
warning: format '%x' expects argument of type 'unsigned int', but argument 7 
has type 'void *' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Disk\DiskIoDxe\DiskIo.c:502:5: 
warning: format '%x' expects argument of type 'unsigned int', but argument 8 
has type 'void *' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Disk\DiskIoDxe\DiskIo.c:549:24: 
warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Disk\DiskIoDxe\DiskIo.c:549:24: 
warning: format '%x' expects argument of type 'unsigned int', but argument 5 
has type 'void *' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Mem\Pool.c:435:7: warning: unknown 
conversion type character ',' in format [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Mem\Pool.c:571:23: warning: unknown 
conversion type character ',' in format [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Console\TerminalDxe\Terminal.c:506:27: 
warning: format '%d' expects argument of type 'int', but argument 3 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Console\TerminalDxe\Terminal.c:506:27: 
warning: format '%d' expects argument of type 'int', but argument 4 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Console\TerminalDxe\Terminal.c:506:27: 
warning: format '%d' expects argument of type 'int', but argument 5 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Mem\MemoryProfileRecord.c:441:23: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'MEMORY_PROFILE_CONTEXT_DATA * {aka struct <anonymous> *}' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Bus\Pci\IdeBusDxe\Ide.c:474:25: 
warning: format '%d' expects argument of type 'int', but argument 3 has type 
'EFI_STATUS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\SmbiosDxe\SmbiosDxe.c:429:27: warning: 
format '%x' expects argument of type 'unsigned int', but argument 4 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\SmbiosDxe\SmbiosDxe.c:432:27: warning: 
format '%x' expects argument of type 'unsigned int', but argument 4 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\SmbiosDxe\SmbiosDxe.c:446:27: warning: 
format '%x' expects argument of type 'unsigned int', but argument 4 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\SmbiosDxe\SmbiosDxe.c:448:27: warning: 
format '%x' expects argument of type 'unsigned int', but argument 4 has type 
'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Bus\Pci\IdeBusDxe\IdeBus.c:364:26: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_STATUS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Bus\Pci\IdeBusDxe\IdeBus.c:389:26: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_STATUS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Bus\Pci\IdeBusDxe\IdeBus.c:539:28: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_STATUS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Bus\Pci\IdeBusDxe\IdeBus.c:738:30: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_STATUS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\QemuVideoDxe\Gop.c:73:23: warning: format '%x' 
expects argument of type 'unsigned int', but argument 3 has type 
'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\QemuVideoDxe\Gop.c:73:23: warning: format '%x' 
expects argument of type 'unsigned int', but argument 4 has type 'UINTN {aka 
long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\AcpiS3SaveDxe\AcpiS3Save.c:364:26: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 'UINTN 
{aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\AcpiS3SaveDxe\AcpiS3Save.c:453:22: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 
'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\AcpiS3SaveDxe\AcpiS3Save.c:454:22: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 
'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\AcpiS3SaveDxe\AcpiS3Save.c:455:22: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 
'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\AcpiS3SaveDxe\AcpiS3Save.c:456:22: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 
'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Event\Tpl.c:69:26: warning: format '%x' 
expects argument of type 'unsigned int', but argument 3 has type 'EFI_TPL {aka 
long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Event\Tpl.c:69:26: warning: format '%x' 
expects argument of type 'unsigned int', but argument 4 has type 'EFI_TPL {aka 
long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Event\Tpl.c:109:26: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 'EFI_TPL 
{aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Event\Tpl.c:109:26: warning: format 
'%x' expects argument of type 'unsigned int', but argument 4 has type 'EFI_TPL 
{aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Universal\BdsDxe\MemoryTest.c:417:25: 
warning: format '%d' expects argument of type 'int', but argument 3 has type 
'UINT64 {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Acpi\BootScriptExecutorDxe\ScriptExecute.c:161:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Acpi\BootScriptExecutorDxe\ScriptExecute.c:178:29:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Acpi\BootScriptExecutorDxe\ScriptExecute.c:200:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Acpi\AcpiTableDxe\AmlNamespace.c:273:24:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINT8 * {aka unsigned char *}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Acpi\AcpiTableDxe\AmlNamespace.c:274:24:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'void *' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Network\MnpDxe\MnpIo.c:940:7: warning: 
format '%d' expects argument of type 'int', but argument 3 has type 'UINTN {aka 
long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Network\MnpDxe\MnpIo.c:940:7: warning: 
format '%d' expects argument of type 'int', but argument 4 has type 'UINTN {aka 
long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Dispatcher\Dispatcher.c:795:30: 
warning: format '%g' expects argument of type 'void *', but argument 5 has type 
'EFI_GUID {aka struct <anonymous>}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Network\SnpDxe\Transmit.c:189:22: 
warning: format '%r' expects argument of type 'long long int', but argument 3 
has type 'int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\XhciDxe\Xhci.c:1812:23: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 
'XHC_HCSPARAMS1 {aka union <anonymous>}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\XhciDxe\Xhci.c:1813:23: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 
'XHC_HCSPARAMS2 {aka union <anonymous>}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\XhciDxe\Xhci.c:1814:23: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 
'XHC_HCCPARAMS {aka union <anonymous>}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\XhciDxe\Xhci.c:2068:23: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 
'EFI_HANDLE {aka void *}' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Universal\BdsDxe\BdsEntry.c:501:28: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Network\SnpDxe\Initialize.c:54:9: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_STATUS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\XhciDxe\XhciSched.c:582:23: warning: 
format '%x' expects argument of type 'unsigned int', but argument 3 has type 
'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\XhciDxe\XhciSched.c:607:23: warning: 
format '%x' expects argument of type 'unsigned int', but argument 3 has type 
'void *' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\XhciDxe\XhciSched.c:623:23: warning: 
format '%x' expects argument of type 'unsigned int', but argument 3 has type 
'void *' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\EhciDxe\EhciDebug.c:189:28: warning: 
format '%d' expects argument of type 'int', but argument 3 has type 'UINTN {aka 
long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Usb\UsbBusDxe\UsbEnumer.c:488:26: warning: 
format '%d' expects argument of type 'int', but argument 4 has type 'EFI_STATUS 
{aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Usb\UsbBusDxe\UsbEnumer.c:781:23: warning: 
format '%d' expects argument of type 'int', but argument 3 has type 'UINTN {aka 
long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Usb\UsbBusDxe\UsbEnumer.c:819:24: warning: 
format '%d' expects argument of type 'int', but argument 3 has type 'UINTN {aka 
long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\Variable.c:748:26: 
warning: format '%x' expects argument of type 'unsigned int', but argument 7 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\Variable.c:751:30: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\Variable.c:751:30: 
warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\Variable.c:753:30: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\Variable.c:753:30: 
warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\Variable.c:756:28: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\Variable.c:756:28: 
warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\Variable.c:3777:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\Variable.c:3789:27:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\Variable.c:3850:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\Variable.c:3850:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\Variable.c:3850:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 5 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\SecurityPkg\VariableAuthenticated\SecureBootConfigDxe\SecureBootConfigImpl.c:2561:25:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\SecurityPkg\VariableAuthenticated\SecureBootConfigDxe\SecureBootConfigImpl.c:2762:25:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\Measurement.c:121:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\Measurement.c:121:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\VarCheck.c:839:31: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\VarCheck.c:839:31: 
warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\VarCheck.c:839:31: 
warning: format '%x' expects argument of type 'unsigned int', but argument 5 
has type 'UINTN {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\VarCheck.c:942:23: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'VAR_CHECK_SET_VARIABLE_CHECK_HANDLER' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\Library\LockBoxLib\LockBoxLib.c:371:30: warning: 
format '%g' expects argument of type 'void *', but argument 4 has type 
'EFI_GUID {aka struct <anonymous>}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\Library\LockBoxLib\LockBoxLib.c:371:30: warning: 
format '%g' expects argument of type 'void *', but argument 4 has type 
'EFI_GUID {aka struct <anonymous>}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Library\PiDxeS3BootScriptLib\BootScriptExecute.c:1637:23:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINT8 * {aka unsigned char *}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:856:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'PEI_S3_RESUME_STATE * {aka struct <anonymous> *}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:998:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'ACPI_S3_CONTEXT * {aka struct <anonymous> *}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1000:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1001:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1002:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1003:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1004:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1005:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINT64 {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1006:25: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1056:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINT64 {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1057:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1058:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINT64 {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1059:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1060:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINT64 {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1061:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINT64 {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1062:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINT64 {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1064:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1065:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1066:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1067:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\UefiCpuPkg\Universal\Acpi\S3Resume2Pei\S3Resume.c:1068:27: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Image\Image.c:1706:29: warning: unknown 
conversion type character 'h' in format [-Wformat=]
d:\edk2build\edk2\OvmfPkg\BlockMmioToBlockIoDxe\BlockIo.c:312:23: warning: 
format '%x' expects argument of type 'unsigned int', but argument 3 has type 
'BLOCK_MMIO_PROTOCOL * {aka struct _BLOCK_MMIO_PROTOCOL *}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Pei\FwVol\FwVol.c:500:5: warning: format 
'%x' expects argument of type 'unsigned int', but argument 5 has type 'UINT64 
{aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Misc\PropertiesTable.c:1058:26: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_RUNTIME_IMAGE_ENTRY * {aka struct _EFI_RUNTIME_IMAGE_ENTRY *}' 
[-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Misc\PropertiesTable.c:1275:26: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_RUNTIME_IMAGE_ENTRY * {aka struct _EFI_RUNTIME_IMAGE_ENTRY *}' 
[-Wformat=]
d:\edk2build\edk2\OvmfPkg\XenPvBlkDxe\BlockFront.c:281:26: warning: format '%d' 
expects argument of type 'int', but argument 3 has type 'UINT64 {aka long long 
unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\XenPvBlkDxe\BlockFront.c:387:13: warning: format '%d' 
expects argument of type 'int', but argument 4 has type 'UINT64 {aka long long 
unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\XenPvBlkDxe\BlockFront.c:598:21: warning: format '%p' 
expects argument of type 'void *', but argument 6 has type 'UINTN {aka unsigned 
int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\XenPvBlkDxe\BlockFront.c:598:21: warning: format '%p' 
expects argument of type 'void *', but argument 7 has type 'UINTN {aka unsigned 
int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Disk\PartitionDxe\Mbr.c:79:26: 
warning: format '%x' expects argument of type 'unsigned int', but argument 4 
has type 'EFI_LBA {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Disk\DiskIoDxe\DiskIo.c:502:5: 
warning: format '%x' expects argument of type 'unsigned int', but argument 7 
has type 'void *' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Disk\DiskIoDxe\DiskIo.c:502:5: 
warning: format '%x' expects argument of type 'unsigned int', but argument 8 
has type 'void *' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Disk\DiskIoDxe\DiskIo.c:549:24: 
warning: format '%x' expects argument of type 'unsigned int', but argument 5 
has type 'void *' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Mem\Pool.c:435:7: warning: unknown 
conversion type character ',' in format [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Mem\Pool.c:571:23: warning: unknown 
conversion type character ',' in format [-Wformat=]
d:\edk2build\edk2\OvmfPkg\QemuVideoDxe\Gop.c:73:23: warning: format '%x' 
expects argument of type 'unsigned int', but argument 3 has type 
'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Mem\MemoryProfileRecord.c:441:23: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'MEMORY_PROFILE_CONTEXT_DATA * {aka struct <anonymous> *}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\AcpiS3SaveDxe\AcpiS3Save.c:453:22: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 
'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\AcpiS3SaveDxe\AcpiS3Save.c:454:22: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 
'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\AcpiS3SaveDxe\AcpiS3Save.c:455:22: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 
'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\OvmfPkg\AcpiS3SaveDxe\AcpiS3Save.c:456:22: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 
'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Universal\BdsDxe\MemoryTest.c:417:25: 
warning: format '%d' expects argument of type 'int', but argument 3 has type 
'UINT64 {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Acpi\AcpiTableDxe\AmlNamespace.c:273:24:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'UINT8 * {aka unsigned char *}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Acpi\AcpiTableDxe\AmlNamespace.c:274:24:
 warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'void *' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Core\Dxe\Dispatcher\Dispatcher.c:795:30: 
warning: format '%g' expects argument of type 'void *', but argument 5 has type 
'EFI_GUID {aka struct <anonymous>}' [-Wformat=]
d:\edk2build\edk2\IntelFrameworkModulePkg\Universal\BdsDxe\BdsEntry.c:501:28: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'EFI_PHYSICAL_ADDRESS {aka long long unsigned int}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\XhciDxe\Xhci.c:1812:23: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 
'XHC_HCSPARAMS1 {aka union <anonymous>}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\XhciDxe\Xhci.c:1813:23: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 
'XHC_HCSPARAMS2 {aka union <anonymous>}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\XhciDxe\Xhci.c:1814:23: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 
'XHC_HCCPARAMS {aka union <anonymous>}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\XhciDxe\Xhci.c:2068:23: warning: format 
'%x' expects argument of type 'unsigned int', but argument 3 has type 
'EFI_HANDLE {aka void *}' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\XhciDxe\XhciSched.c:582:23: warning: 
format '%x' expects argument of type 'unsigned int', but argument 3 has type 
'long long unsigned int' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\XhciDxe\XhciSched.c:607:23: warning: 
format '%x' expects argument of type 'unsigned int', but argument 3 has type 
'void *' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Bus\Pci\XhciDxe\XhciSched.c:623:23: warning: 
format '%x' expects argument of type 'unsigned int', but argument 3 has type 
'void *' [-Wformat=]
d:\edk2build\edk2\MdeModulePkg\Universal\Variable\RuntimeDxe\VarCheck.c:942:23: 
warning: format '%x' expects argument of type 'unsigned int', but argument 3 
has type 'VAR_CHECK_SET_VARIABLE_CHECK_HANDLER {aka unsigned int (*)(short 
unsigned int *, struct <anonymous> *, unsigned int,  unsigned int,  void *)}' 
[-Wformat=]
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to