diff options
| author | Hui Tang <[email protected]> | 2021-05-10 17:02:55 +0800 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2021-05-21 16:17:30 +0800 |
| commit | 0b0553b701f830d820ba9026e5799c24e400a4b5 (patch) | |
| tree | bb79515307a0813ffcb345594f2006eb5a4a2001 /tools/perf/scripts/python | |
| parent | a225762057d6818e4a75ad5c2c16495662d71495 (diff) | |
crypto: hisilicon/hpre - fix unmapping invalid dma address
Currently, an invalid dma address may be unmapped when calling
'xx_data_clr_all' in error path, so check dma address of sqe in/out
if initialized before calling 'dma_free_coherent' or 'dma_unmap_single'.
Fixes: a9214b0b6ed2 ("crypto: hisilicon - fix the check on dma address")
Signed-off-by: Hui Tang <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions