Re: [PATCH] crypto: Use PTR_ERR_ZERO

2017-09-22 Thread Herbert Xu
On Sun, Aug 27, 2017 at 11:52:48AM +0530, Himanshu Jha wrote: > Use PTR_ERROR_ZERO rather than if(IS_ERR(...)) + PTR_ERR. > Build successfully. > > Signed-off-by: Himanshu Jha Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.ap

[PATCH] crypto: Use PTR_ERR_ZERO

2017-08-26 Thread Himanshu Jha
Use PTR_ERROR_ZERO rather than if(IS_ERR(...)) + PTR_ERR. Build successfully. Signed-off-by: Himanshu Jha --- drivers/crypto/marvell/tdma.c | 5 + drivers/crypto/mv_cesa.c| 5 + drivers/crypto/qce/ablkcipher.c | 5 + 3 files changed, 3 insertions(+), 12 deletions(-) diff -