Re: [PATCH 1/4] kernel/kfifo.c: fix "interger as NULL pointer" warning.

From: Thiago Farina
Date: Sun Jan 24 2010 - 13:54:20 EST

On Sun, Jan 24, 2010 at 3:15 PM, Stefani Seibold <stefani@xxxxxxxxxxx> wrote:
> Am Sonntag, den 24.01.2010, 11:03 -0500 schrieb Thiago Farina:
>> kernel/kfifo.c:83:35: warning: Using plain integer as NULL pointer
> I don't know where you get this kind of warning. But passing 0 for a
> NULL pointer is ANSI C standard.

This is a sparse warning. Got with: make C=1.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at