diff options
author | Martin Oliveira <[email protected]> | 2021-07-29 14:15:27 -0600 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2021-08-09 17:13:05 +0200 |
commit | af82fe85665d49bdb72dba66cd57e3bf95b71895 (patch) | |
tree | 74ad12a68bf9ad30d45591257fae8c5ed678b310 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 62af5ca50c29a9be266656dfb88db6d439d129a1 (diff) |
MIPS/jazzdma: return error code from jazz_dma_map_sg()
The .map_sg() op now expects an error code instead of zero on failure.
vdma_alloc() may fail for different reasons, but since it only supports
indicating an error via a return of DMA_MAPPING_ERROR, we coalesce the
different reasons into -EIO as is documented on dma_map_sgtable().
Signed-off-by: Martin Oliveira <[email protected]>
Signed-off-by: Logan Gunthorpe <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions