summaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/vmd.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-11-21 19:28:34 +0100
committerChristoph Hellwig <hch@lst.de>2018-12-06 06:56:46 -0800
commitb3aa14f022543ed86823c97c145495b747102fa9 (patch)
tree9589fcbf910a2291fe41ec8e0e3c656ce338f0df /drivers/pci/controller/vmd.c
parent887712a0a5b31e0cf28087f6445de431b4722e52 (diff)
downloadlinux-b3aa14f022543ed86823c97c145495b747102fa9.tar.bz2
iommu: remove the mapping_error dma_map_ops method
Return DMA_MAPPING_ERROR instead of 0 on a dma mapping failure and let the core dma-mapping code handle the rest. Note that the existing code used AMD_IOMMU_MAPPING_ERROR to check from a 0 return from the IOVA allocator, which is replaced with an explicit 0 as in the implementation and other users of that interface. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pci/controller/vmd.c')
0 files changed, 0 insertions, 0 deletions