diff options
| author | Haotian Zhang <[email protected]> | 2025-10-20 10:11:09 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2025-10-23 04:53:23 +0000 |
| commit | 3c9bf72cc1ced1297b235f9422d62b613a3fdae9 (patch) | |
| tree | 1915ac60211ab2325085b414a5efd28fe0699c36 /net/unix/af_unix.c | |
| parent | crypto: s390/phmac - Do not modify the req->nbytes value (diff) | |
| download | kernel-3c9bf72cc1ced1297b235f9422d62b613a3fdae9.tar.gz kernel-3c9bf72cc1ced1297b235f9422d62b613a3fdae9.zip | |
crypto: aspeed - fix double free caused by devm
The clock obtained via devm_clk_get_enabled() is automatically managed
by devres and will be disabled and freed on driver detach. Manually
calling clk_disable_unprepare() in error path and remove function
causes double free.
Remove the manual clock cleanup in both aspeed_acry_probe()'s error
path and aspeed_acry_remove().
Fixes: 2f1cf4e50c95 ("crypto: aspeed - Add ACRY RSA driver")
Signed-off-by: Haotian Zhang <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
