crypto: Use PTR_ERR_ZERO
authorHimanshu Jha <himanshujha199640@gmail.com>
Sun, 27 Aug 2017 06:22:48 +0000 (11:52 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Sep 2017 09:43:27 +0000 (17:43 +0800)
commit06ec1f82bfa5078928e0efaa5ed350a1dcc91631
tree3b8b173898e0b0f40770bd5121a420f4e29f091d
parent18fddf5fd2111dd670156b3dfb2dfed16d7889b4
crypto: Use PTR_ERR_ZERO

Use PTR_ERROR_ZERO rather than if(IS_ERR(...)) + PTR_ERR.
Build successfully.

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/tdma.c
drivers/crypto/mv_cesa.c
drivers/crypto/qce/ablkcipher.c