Re: [PATCH] drivers/crypto/ccp: return NULL instead of 0
From: Herbert Xu
Date: Mon Jun 19 2017 - 02:39:26 EST
On Wed, May 03, 2017 at 09:32:09AM +0530, Pushkar Jambhlekar wrote:
> This change is to handle sparse warning. Return type of function is a pointer to the structure and
> it returns 0. Instead it should return NULL.
>
> Signed-off-by: Pushkar Jambhlekar <pushkar.iit@xxxxxxxxx>
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt