dma: Let st*_dma() propagate MemTxResult
commit24aed6bcb6b6d266149591f955c2460c28759eb4
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 17 Dec 2021 22:56:14 +0000 (17 23:56 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 31 Dec 2021 00:05:27 +0000 (31 01:05 +0100)
tree259fcb5d12791ebe9777cf6fc7d098e8cd3501cc
parent34cdea1db600540a5261dc474e986f28b637c8e6
dma: Let st*_dma() propagate MemTxResult

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

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-18-philmd@redhat.com>
include/sysemu/dma.h