Martin Oliveira e02373fddb sparc/iommu: return error codes from .map_sg() ops
The .map_sg() op now expects an error code instead of zero on failure.

Returning an errno from __sbus_iommu_map_sg() results in
sbus_iommu_map_sg_gflush() and sbus_iommu_map_sg_pflush() returning an
errno, as those functions are wrappers around __sbus_iommu_map_sg().

Signed-off-by: Martin Oliveira <martin.oliveira@eideticom.com>
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Niklas Schnelle <schnelle@linux.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2021-08-09 17:13:06 +02:00
..
2021-07-10 11:01:38 -07:00
2018-01-22 08:17:15 -08:00
2018-01-22 08:17:15 -08:00
2018-05-09 06:54:27 +02:00
2020-08-23 17:36:59 -05:00
2020-08-20 13:12:58 +02:00
2020-07-27 14:31:08 -04:00
2020-07-27 14:31:08 -04:00