diff options
| author | Martin Oliveira <[email protected]> | 2021-07-29 14:15:24 -0600 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2021-08-09 17:13:05 +0200 |
| commit | 6506932b3268001ff15c081aceb47c7f9aa9fb2d (patch) | |
| tree | cedc362f507bd7a1732e910debc5244ccc768797 /tools/testing/selftests/bpf/progs/connect_unix_prog.c | |
| 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 <[email protected]>
Signed-off-by: Logan Gunthorpe <[email protected]>
Cc: Russell King <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/connect_unix_prog.c')
0 files changed, 0 insertions, 0 deletions