diff options
author | Martin Oliveira <martin.oliveira@eideticom.com> | 2021-07-29 14:15:24 -0600 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-08-09 17:13:05 +0200 |
commit | 6506932b3268001ff15c081aceb47c7f9aa9fb2d (patch) | |
tree | cedc362f507bd7a1732e910debc5244ccc768797 /tools/perf/scripts/python/stackcollapse.py | |
parent | ca33d26ac640bdf74e5fd0fcd711dbc5ab9f36c0 (diff) |
ARM/dma-mapping: return error code from .map_sg() ops
The .map_sg() op now expects an error code instead of zero on failure.
In the case of a DMA_MAPPING_ERROR, -EIO is returned. Otherwise,
-ENOMEM or -EINVAL is returned depending on the error from
__map_sg_chunk().
Signed-off-by: Martin Oliveira <martin.oliveira@eideticom.com>
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions