]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: remove the mapping_error dma_map_ops method
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Nov 2018 18:34:10 +0000 (19:34 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 14:56:48 +0000 (06:56 -0800)
commit1dc16c2aa86c8ff4a35d1cb140b61b20ee5fb246
tree5d529bbe691e89053fcf16039ebfefabe8bb24e0
parente92bbb6a858180e9f704f2d2b5c35f9c01e40c79
iommu/vt-d: 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.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/iommu/intel-iommu.c