diff options
author | Jack Wang <[email protected]> | 2022-08-19 08:07:47 +0200 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2022-09-21 10:38:46 +0200 |
commit | 40c9ba0dec90d72590f65d4a024b4de5cdd66294 (patch) | |
tree | a03924d493249644d9568bb63d52663d3f3cd6ce /tools/perf/scripts/python/futex-contention.py | |
parent | 43b81c2a3e6e07915151045aa13a6e8a9bd64419 (diff) |
mtd: rawnand: marvell: Fix error handle regarding dma_map_sg
dma_map_sg return 0 on error, in case of error return -EIO,
also add the dma_unmap_sg as rollback on the following error.
Cc: Miquel Raynal <[email protected]>
Cc: Richard Weinberger <[email protected]>
Cc: Vignesh Raghavendra <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Cc: Alexandre Torgue <[email protected]>
Cc: Philipp Zabel <[email protected]>
Cc: Christophe Kerello <[email protected]>
Cc: Cai Huoqing <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Jack Wang <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions