Re: [PATCH v2 9/9] hw/riscv/virt.c: remove 'long' casts in fmt strings

2025-04-30 Thread Alistair Francis
On Tue, Apr 29, 2025 at 11:01 PM Daniel Henrique Barboza wrote: > > We can avoid the 'long' casts by using PRIx64 and HWADDR_PRIx on the fmt > strings for uint64_t and hwaddr types. > > Signed-off-by: Daniel Henrique Barboza > Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis

[PATCH v2 9/9] hw/riscv/virt.c: remove 'long' casts in fmt strings

2025-04-29 Thread Daniel Henrique Barboza
We can avoid the 'long' casts by using PRIx64 and HWADDR_PRIx on the fmt strings for uint64_t and hwaddr types. Signed-off-by: Daniel Henrique Barboza Reviewed-by: Philippe Mathieu-Daudé --- hw/riscv/virt.c | 32 +--- 1 file changed, 17 insertions(+), 15 deletions(-)