OvmfPkg: fix conversion specifiers in DEBUG format strings
Cc: Scott Duplichan <scott@notabs.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Reported-by: Scott Duplichan <scott@notabs.org> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Build-tested-by: Scott Duplichan <scott@notabs.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18095 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -162,7 +162,9 @@ XenGrantTableInit (
|
||||
Parameters.gpfn = (xen_pfn_t) ((UINTN) GrantTable >> EFI_PAGE_SHIFT) + Index;
|
||||
ReturnCode = XenHypercallMemoryOp (XENMEM_add_to_physmap, &Parameters);
|
||||
if (ReturnCode != 0) {
|
||||
DEBUG ((EFI_D_ERROR, "Xen GrantTable, add_to_physmap hypercall error: %d\n", ReturnCode));
|
||||
DEBUG ((EFI_D_ERROR,
|
||||
"Xen GrantTable, add_to_physmap hypercall error: %Ld\n",
|
||||
(INT64)ReturnCode));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -182,10 +184,13 @@ XenGrantTableDeinit (
|
||||
for (Index = NR_GRANT_FRAMES - 1; Index >= 0; Index--) {
|
||||
Parameters.domid = DOMID_SELF;
|
||||
Parameters.gpfn = (xen_pfn_t) ((UINTN) GrantTable >> EFI_PAGE_SHIFT) + Index;
|
||||
DEBUG ((EFI_D_INFO, "Xen GrantTable, removing %X\n", Parameters.gpfn));
|
||||
DEBUG ((EFI_D_INFO, "Xen GrantTable, removing %Lx\n",
|
||||
(UINT64)Parameters.gpfn));
|
||||
ReturnCode = XenHypercallMemoryOp (XENMEM_remove_from_physmap, &Parameters);
|
||||
if (ReturnCode != 0) {
|
||||
DEBUG ((EFI_D_ERROR, "Xen GrantTable, remove_from_physmap hypercall error: %d\n", ReturnCode));
|
||||
DEBUG ((EFI_D_ERROR,
|
||||
"Xen GrantTable, remove_from_physmap hypercall error: %Ld\n",
|
||||
(INT64)ReturnCode));
|
||||
}
|
||||
}
|
||||
GrantTable = NULL;
|
||||
|
Reference in New Issue
Block a user