aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJack Wang <[email protected]>2022-08-19 08:07:50 +0200
committerHerbert Xu <[email protected]>2022-08-26 18:50:39 +0800
commit66f0b6b7d839b49e19a856a90b70656dccc4b844 (patch)
treef3f9ee53da2805405695d6974b16e72d14d47b43 /tools/perf/scripts/python
parent545665ad1e84eb8f047018a2f607e78cef29c7fa (diff)
crypto: sahara - Fix error check for dma_map_sg
dma_map_sg return 0 on error, it returns the number of DMA address segments mapped (this may be shorter than <nents> passed in if some elements of the scatter/gather list are physically or virtually adjacent and an IOMMU maps them with a single entry). Cc: Herbert Xu <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Jack Wang <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions