swiotlb: remove SWIOTLB_MAP_ERROR
authorChristoph Hellwig <hch@lst.de>
Mon, 3 Dec 2018 10:42:52 +0000 (11:42 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 13 Dec 2018 20:06:13 +0000 (21:06 +0100)
commitb907e20508d02462a50c2841da0a5e3883fdab39
treecaad79fcf693311a323db7608057c79b61c7405f
parente5361ca29f2fea345c08d2b5cb5e3b1840cbafb8
swiotlb: remove SWIOTLB_MAP_ERROR

We can use DMA_MAPPING_ERROR instead, which already maps to the same
value.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Tested-by: Jesper Dangaard Brouer <brouer@redhat.com>
Tested-by: Tony Luck <tony.luck@intel.com>
drivers/xen/swiotlb-xen.c
include/linux/swiotlb.h
kernel/dma/swiotlb.c