Skip to content
Commit 7b865ec1 authored by zhong jiang's avatar zhong jiang Committed by Herbert Xu
Browse files

crypto: arm64/aes - Use PTR_ERR_OR_ZERO rather than its implementation.



PTR_ERR_OR_ZERO contains if(IS_ERR(...)) + PTR_ERR. It is better to
use it directly. hence just replace it.

Signed-off-by: default avatarzhong jiang <zhongjiang@huawei.com>
Acked-by: default avatarWill Deacon <will@kernel.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent c75c66bb
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