Thread (72 messages) 72 messages, 15 authors, 2017-06-20

Re: [PATCH 06/44] iommu/dma: don't rely on DMA_ERROR_CODE

From: Christoph Hellwig <hch@lst.de>
Date: 2017-06-16 08:37:06
Also in: dri-devel, linux-arm-kernel, linux-iommu, linux-mips, linux-samsung-soc, linux-sh, linux-tegra, lkml, netdev, sparclinux

On Thu, Jun 08, 2017 at 02:59:07PM +0100, Robin Murphy wrote:
Hi Christoph,

On 08/06/17 14:25, Christoph Hellwig wrote:
quoted
DMA_ERROR_CODE is not a public API and will go away soon.  dma dma-iommu
driver already implements a proper ->mapping_error method, so it's only
using the value internally.  Add a new local define using the value
that arm64 which is the only current user of dma-iommu.
It would be fine to just use 0, since dma-iommu already makes sure that
that will never be allocated for a valid DMA address.
I'll change it to 0.
Otherwise, looks good!
Can you give me a formal ACK or Reviewed-by: ?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help