diff options
author | Christoph Hellwig <hch@lst.de> | 2018-11-21 21:28:34 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-12-06 17:56:46 +0300 |
commit | b3aa14f022543ed86823c97c145495b747102fa9 (patch) | |
tree | 9589fcbf910a2291fe41ec8e0e3c656ce338f0df /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 887712a0a5b31e0cf28087f6445de431b4722e52 (diff) | |
download | linux-b3aa14f022543ed86823c97c145495b747102fa9.tar.xz |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions