[PATCH 2/3] pci: Let pci_dma_read() propagate MemTxResult

2020-09-04 Thread Philippe Mathieu-Daudé
pci_dma_rw() returns a MemTxResult type. Do not discard it, return it to the caller. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/pci/pci.h | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h index a85b0bc3c44.

Re: [PATCH 2/3] pci: Let pci_dma_read() propagate MemTxResult

2020-09-04 Thread Li Qiang
Philippe Mathieu-Daudé 于2020年9月5日周六 上午12:27写道: > > pci_dma_rw() returns a MemTxResult type. > Do not discard it, return it to the caller. > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Li Qiang > --- > include/hw/pci/pci.h | 16 ++-- > 1 file changed, 14 insertions(+), 2 d

Re: [PATCH 2/3] pci: Let pci_dma_read() propagate MemTxResult

2020-09-05 Thread Richard Henderson
On 9/4/20 9:26 AM, Philippe Mathieu-Daudé wrote: > pci_dma_rw() returns a MemTxResult type. > Do not discard it, return it to the caller. > > Signed-off-by: Philippe Mathieu-Daudé > --- > include/hw/pci/pci.h | 16 ++-- > 1 file changed, 14 insertions(+), 2 deletions(-) Reviewed-by: