Skip to content
Commit 81a5a316 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
parent b4005857
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment