]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: arm64/aes - Use PTR_ERR_OR_ZERO rather than its implementation.
authorzhong jiang <zhongjiang@huawei.com>
Tue, 3 Sep 2019 06:54:16 +0000 (14:54 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 9 Sep 2019 07:35:27 +0000 (17:35 +1000)
commit469c80f19a6749d141e6edb46d7fff97c0b5f9cf
tree168fb3d1c55d4808cc0e974613a56fd9b9289561
parentbbfab2a5bb9ef18b6eb8edfe9e802e66a2a438c1
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: zhong jiang <zhongjiang@huawei.com>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/aes-glue.c