]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xen-swiotlb: remove the mapping_error dma_map_ops method
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Nov 2018 18:38:19 +0000 (19:38 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 14:56:49 +0000 (06:56 -0800)
commita4abe0ad10654b122caed873d8a7a58989d7cf9b
treedaf599491f4bbfd5451303c66aa3eebe7877b98e
parentcad34be747b8a92146e71c8267f2c1d6794e34c0
xen-swiotlb: 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/xen/swiotlb-xen.c