diff options
| author | Suman Anna <s-anna@ti.com> | 2021-05-14 11:12:42 -0500 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-05-23 08:52:40 +0800 |
| commit | 4c0716ee1d973f6504d13f0e8d4d10350c85ad37 (patch) | |
| tree | 8e280ec7eef29e6c248e821981ca773a53b3557c /tools/perf/scripts/python | |
| parent | hwrng: omap - Enable driver for TI K3 family (diff) | |
| download | linux-4c0716ee1d973f6504d13f0e8d4d10350c85ad37.tar.gz linux-4c0716ee1d973f6504d13f0e8d4d10350c85ad37.zip | |
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 <s-anna@ti.com>
Reviewed-by: Tero Kristo <kristo@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
