From: Jan Kiszka <[email protected]> mem->phys_start is u64, but we only print up to unsigned long. Adjust the input type. Resolves broken size reports on 32-bit ARM.
Signed-off-by: Jan Kiszka <[email protected]> --- hypervisor/mmio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hypervisor/mmio.c b/hypervisor/mmio.c index 30259ee..a4b7a3b 100644 --- a/hypervisor/mmio.c +++ b/hypervisor/mmio.c @@ -314,7 +314,8 @@ static enum mmio_result mmio_handle_subpage(void *arg, struct mmio_access *mmio) invalid_access: panic_printk("FATAL: Invalid MMIO %s, address: %x, size: %x\n", mmio->is_write ? "write" : "read", - mem->phys_start + mmio->address, mmio->size); + (unsigned long)mem->phys_start + mmio->address, + mmio->size); return MMIO_ERROR; } -- 2.1.4 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
