Skip to content
Commit b1145ce3 authored by Julia Lawall's avatar Julia Lawall Committed by Herbert Xu
Browse files

[CRYPTO] cryptd: Correct kzalloc error test



Normally, kzalloc returns NULL or a valid pointer value, not a value to be
tested using IS_ERR.

Signed-off-by: default avatarJulia Lawall <julia@diku.dk>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 46f8153c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment