Re: [PATCH] Staging: wilc1000: Use NULL instead of zero

From: Sudip Mukherjee
Date: Mon Sep 14 2015 - 04:36:39 EST


On Mon, Sep 14, 2015 at 11:03:34AM +0530, Ronit Halder wrote:
> This patch fixes the warning generated by sparse
> "Using plain integer as NULL pointer" by using NULL
> instead of zero.
>
> Signed-off-by: Ronit halder <ronit.crj@xxxxxxxxx>
> ---
This fixes sparse warning but introduces new checkpatch warnings about
NULL comparison.

regards
sudip
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/