qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 10/10] hw/dma: Use dma_addr_t type definition when relevan


From: Richard Henderson
Subject: Re: [PATCH v3 10/10] hw/dma: Use dma_addr_t type definition when relevant
Date: Fri, 28 Jan 2022 11:49:10 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 1/12/22 05:43, Philippe Mathieu-Daudé wrote:
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(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]