Re: [PATCH] mm/mmap: Remove sparse-warning (NULL as 0).

From: James Morris
Date: Fri Dec 21 2007 - 19:27:51 EST


On Sat, 8 Dec 2007, Richard Knutsson wrote:

> Fixing:
> CHECK mm/mmap.c
> mm/mmap.c:1623:29: warning: Using plain integer as NULL pointer
> mm/mmap.c:1623:29: warning: Using plain integer as NULL pointer
> mm/mmap.c:1944:29: warning: Using plain integer as NULL pointer
>
> Signed-off-by: Richard Knutsson <ricknu-0@xxxxxxxxxxxxxx>
> ---
> Added by: 8869477a49c3e99def1fcdadd6bbc407fea14b45 (Linus' tree)
> Compile-tested on i386 with all[yes|mod|no]config.

Thanks, applied to

git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6.git#for-akpm



- James
--
James Morris
<jmorris@xxxxxxxxx>
--
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/