diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-07-24 10:15:38 +0200 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-07-30 17:30:50 +1000 |
| commit | 9c75402286409f5e1a75e4a445555c84066f89db (patch) | |
| tree | 476d3ff38175791221c2abf4ec279625774dc1d9 /tools/perf/scripts/python | |
| parent | 1132c38927886259c694f77cd74fc577c2216eeb (diff) | |
crypto: qce - fix error path in devm_qce_register_algs
If ops->register_algs() fails, the error path repeatedly calls the same
ops->unregister_algs() from the failed registration. Use the loop index
to unregister the previously registered algorithms instead.
Fixes: e80cf84b6087 ("crypto: qce - unregister previously registered algos in error path")
Cc: stable@vger.kernel.org
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
