aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-11-10 00:25:43 +0300
committerHerbert Xu <[email protected]>2017-11-29 16:43:49 +1100
commit7814f552ff826fefa5e1b24083c7a06a9378e9ef (patch)
tree4aeecba13ef4420b0a5fe7684ea38c6abbce9396 /tools/perf/scripts/python
parentd7fc6cfdf1efaafbd708c08f0be44d71bb9f7fde (diff)
crypto: chelsio - Fix an error code in chcr_hash_dma_map()
The dma_map_sg() function returns zero on error and positive values on success. We want to return -ENOMEM on failure here and zero on success. Fixes: 2f47d5804311 ("crypto: chelsio - Move DMA un/mapping to chcr from lld cxgb4 driver") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions