OSDN Git Service

dma: Let ld*_dma() propagate MemTxResult
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 17 Dec 2021 21:31:11 +0000 (22:31 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 31 Dec 2021 00:05:27 +0000 (01:05 +0100)
commitcd1db8df7431edd2210ed0123e2e09b9b6d1e621
tree60c47bd7abcc7618a589655f60f6bdb79916cbca
parent24aed6bcb6b6d266149591f955c2460c28759eb4
dma: Let ld*_dma() propagate MemTxResult

dma_memory_read() returns a MemTxResult type. Do not discard
it, return it to the caller.

Update the few callers.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211223115554.3155328-19-philmd@redhat.com>
hw/intc/pnv_xive.c
hw/usb/hcd-xhci.c
include/hw/pci/pci.h
include/hw/ppc/spapr_vio.h
include/sysemu/dma.h