]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/dma: don't rely on DMA_ERROR_CODE
authorChristoph Hellwig <hch@lst.de>
Mon, 22 May 2017 08:55:30 +0000 (10:55 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 20 Jun 2017 09:12:59 +0000 (11:12 +0200)
commit687aee62275f71d61b0af499825e8db21bb8f91d
treec2d5a33ec0ba493b004b62f73492ffa6a8966e47
parentadacf4c13e7fc919ee34f97e7a427dc351b43b41
iommu/dma: don't rely on DMA_ERROR_CODE

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.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/iommu/dma-iommu.c