diff options
| author | Suman Anna <[email protected]> | 2021-05-14 11:12:42 -0500 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2021-05-23 08:52:40 +0800 |
| commit | 4c0716ee1d973f6504d13f0e8d4d10350c85ad37 (patch) | |
| tree | 8e280ec7eef29e6c248e821981ca773a53b3557c /tools/perf/scripts/python/flamegraph.py | |
| parent | 5c93a2ebc7ad85046fab23f8ac297fc3a86bc903 (diff) | |
crypto: sa2ul - Fix leaks on failure paths with sa_dma_init()
The sa_dma_init() function doesn't release the requested dma channels
on all failure paths. Any failure in this function also ends up
leaking the dma pool created in sa_init_mem() in the sa_ul_probe()
function. Fix all of these issues.
Fixes: 7694b6ca649f ("crypto: sa2ul - Add crypto driver")
Signed-off-by: Suman Anna <[email protected]>
Reviewed-by: Tero Kristo <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions