On 1/12/22 05:43, Philippe Mathieu-Daudé wrote:
From: Philippe Mathieu-Daudé<[email protected]>
Update the obvious places where dma_addr_t should be used
(instead of uint64_t, hwaddr, size_t, int32_t types).
This allows to have &dma_addr_t type portable on 32/64-bit
hosts.
Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
Reviewed-by: David Hildenbrand<[email protected]>
Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
include/sysemu/dma.h | 8 +++++---
hw/nvme/ctrl.c | 2 +-
hw/rdma/rdma_utils.c | 2 +-
hw/scsi/megasas.c | 10 +++++-----
softmmu/dma-helpers.c | 16 +++++++++-------
5 files changed, 21 insertions(+), 17 deletions(-)
Reviewed-by: Richard Henderson <[email protected]>
r~