Re: [PATCH] NFC: nci/data.c: quiet sparse noise about plain integeras NULL pointer

From: Samuel Ortiz
Date: Mon Apr 30 2012 - 05:26:54 EST


Hi,

On Thu, Apr 26, 2012 at 10:31:16AM -0700, H Hartley Sweeten wrote:
> Pointers should be cleared with NULL, not 0.
>
> Quiets a couple sparse warnings of the type:
>
> warning: Using plain integer as NULL pointer
>
> Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
> Cc: Lauro Ramos Venancio <lauro.venancio@xxxxxxxxxxxxx>
> Cc: Aloisio Almeida Jr <aloisio.almeida@xxxxxxxxxxxxx>
> Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
This one and the 4 other NFC patches applied to my nfc-next tree, thanks.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
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/