Re: [PATCH 3/3] pci: Let pci_dma_write() 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:

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

2020-09-04 Thread Li Qiang
Philippe Mathieu-Daudé 于2020年9月5日周六 上午12:26写道: > > 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

[PATCH 3/3] pci: Let pci_dma_write() 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 bb57525dffd.