pci: Let st*_pci_dma() propagate MemTxResult
commit6bebb270731758fae3114b7d24c2b12b7c325cc5
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 17 Dec 2021 22:47:30 +0000 (17 23:47 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 31 Dec 2021 00:05:27 +0000 (31 01:05 +0100)
treebe7acc1131d0f16016d6974b55e9e3bbacb3a2ad
parent398f9a84ac7132e38caf7b066273734b3bf619ff
pci: Let st*_pci_dma() propagate MemTxResult

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

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211223115554.3155328-23-philmd@redhat.com>
include/hw/pci/pci.h