diff options
| author | Christoph Hellwig <[email protected]> | 2018-11-21 18:28:34 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2018-12-06 14:56:46 +0000 |
| commit | b3aa14f022543ed86823c97c145495b747102fa9 (patch) | |
| tree | 9589fcbf910a2291fe41ec8e0e3c656ce338f0df /drivers/pci/controller/vmd.c | |
| parent | x86/calgary: remove the mapping_error dma_map_ops method (diff) | |
| download | kernel-b3aa14f022543ed86823c97c145495b747102fa9.tar.gz kernel-b3aa14f022543ed86823c97c145495b747102fa9.zip | |
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 <[email protected]>
Acked-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/pci/controller/vmd.c')
0 files changed, 0 insertions, 0 deletions
