summaryrefslogtreecommitdiff
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.com>2024-11-18 21:31:09 +0100
committerJiri Kosina <jkosina@suse.com>2024-11-18 21:31:09 +0100
commit873c578324c7082677303e2921b71fe0f5737ccc (patch)
tree40ffb8ce94497874ff7af9af8ff7ada6f7048c1e /crypto/algapi.c
parentf33e46a0c6bddd341d0989484a2546bba7ac4a3c (diff)
parent8ee0f23e2672f004e217b38d4fac956cee251c7f (diff)
Merge branch 'for-6.13/steelseries' into for-linus
- bugfixes for Steelseries Arctis 1 battery level handling (Bastien Nocera)
Diffstat (limited to 'crypto/algapi.c')
-rw-r--r--crypto/algapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/algapi.c b/crypto/algapi.c
index 74e2261c184c..004d27e41315 100644
--- a/crypto/algapi.c
+++ b/crypto/algapi.c
@@ -373,7 +373,7 @@ found:
q->cra_flags |= CRYPTO_ALG_DEAD;
alg = test->adult;
- if (list_empty(&alg->cra_list))
+ if (crypto_is_dead(alg))
goto complete;
if (err == -ECANCELED)