commit | 81a5a316756b23cd0264627366ba32b337b8fa24 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon May 22 10:55:30 2017 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Tue Jun 20 11:12:59 2017 +0200 |
tree | c2d5a33ec0ba493b004b62f73492ffa6a8966e47 | |
parent | b400585720820077704c84813930a3e255f87a23 [diff] |
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>