commit | 66ab63104f9cab09209851fef168f5972d791903 | [log] [tgz] |
---|---|---|
author | Martin Oliveira <martin.oliveira@eideticom.com> | Thu Jul 29 14:15:38 2021 -0600 |
committer | Christoph Hellwig <hch@lst.de> | Mon Aug 09 17:13:06 2021 +0200 |
tree | e476b97c862cdf8323469828bc364b2deeafb018 | |
parent | 183dc86335e69f516b94f169afd784cf97cb8421 [diff] |
dma-mapping: return error code from dma_dummy_map_sg() The .map_sg() op now expects an error code instead of zero on failure. The only errno to return is -EINVAL in the case when DMA is not supported. Signed-off-by: Martin Oliveira <martin.oliveira@eideticom.com> Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Christoph Hellwig <hch@lst.de>