Re: [PATCH] crypto: amcc: Do a NULL check for pointer

2015-08-13 Thread Herbert Xu
On Fri, Aug 14, 2015 at 12:05:58AM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Compare pointer-typed values to NULL rather than 0. > > The semantic patch that makes this change is available > in scripts/coccinelle/null/badzero.cocci > > Signed-off-by: Fabio Estevam > --- > drivers/c

[PATCH] crypto: amcc: Do a NULL check for pointer

2015-08-13 Thread Fabio Estevam
From: Fabio Estevam Compare pointer-typed values to NULL rather than 0. The semantic patch that makes this change is available in scripts/coccinelle/null/badzero.cocci Signed-off-by: Fabio Estevam --- drivers/crypto/amcc/crypto4xx_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)