Re: [patch] crypto: chcr - checking for IS_ERR() instead of NULL

2016-12-07 Thread Herbert Xu
On Thu, Dec 01, 2016 at 11:49:37PM +0300, Dan Carpenter wrote: > The create_hash_wr() function never returns error pointers. It returns > NULL on error. > > Fixes: 358961d1cd1e ("crypto: chcr - Added new structure chcr_wr") > Signed-off-by: Dan Carpenter Patch applied. Thanks. -- Email: Herbe

Re: [patch] crypto: chcr - checking for IS_ERR() instead of NULL

2016-12-01 Thread Harsh Jain
On 02-12-2016 02:19, Dan Carpenter wrote: > The create_hash_wr() function never returns error pointers. It returns > NULL on error. Will fix the same, Thanks > > Fixes: 358961d1cd1e ("crypto: chcr - Added new structure chcr_wr") > Signed-off-by: Dan Carpenter > > diff --git a/drivers/crypto/che

Re: [patch] crypto: chcr - checking for IS_ERR() instead of NULL

2016-12-01 Thread Harsh Jain
On 02-12-2016 11:29, Harsh Jain wrote: > > On 02-12-2016 02:19, Dan Carpenter wrote: >> The create_hash_wr() function never returns error pointers. It returns >> NULL on error. > Will fix the same, Thanks It's a patch mail not bug reporting! Sorry for confusion. You have already fixed it. Than