Re: [PATCH] drivers/crypto/ccp: return NULL instead of 0

2017-06-19 Thread Herbert Xu
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 Patch applied.

[PATCH] drivers/crypto/ccp: return NULL instead of 0

2017-05-02 Thread Pushkar Jambhlekar
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 --- drivers/crypto/ccp/ccp-platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2