From: Philippe Mathieu-Daudé<philmd@redhat.com>
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é<philmd@redhat.com>
Reviewed-by: David Hildenbrand<david@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
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(-)