]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit81a5a316756b23cd0264627366ba32b337b8fa24
treec2d5a33ec0ba493b004b62f73492ffa6a8966e47
parentb400585720820077704c84813930a3e255f87a23
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