Skip to content
Commit e2b19a48 authored by Chen Yufan's avatar Chen Yufan Committed by Herbert Xu
Browse files

crypto: camm/qi - Use ERR_CAST() to return error-valued pointer



Instead of directly casting and returning (void *) pointer, use ERR_CAST
to explicitly return an error-valued pointer. This makes the error handling
more explicit and improves code clarity.

Signed-off-by: default avatarChen Yufan <chenyufan@vivo.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent ca459e5f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment