From: Randy Dunlap Date: Wed, 27 Sep 2006 08:50:12 +0000 (-0700) Subject: [PATCH] mm/page_alloc: use NULL instead of 0 for ptr X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=423b41d773abe443bb546ce91361192073b96f88;p=openwrt%2Fstaging%2Fblogic.git [PATCH] mm/page_alloc: use NULL instead of 0 for ptr Use NULL instead of 0 for pointer value, eliminate sparse warnings. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 490aee1f2ce8..4f59d90b81e6 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1591,7 +1591,7 @@ static int __meminit __build_all_zonelists(void *dummy) void __meminit build_all_zonelists(void) { if (system_state == SYSTEM_BOOTING) { - __build_all_zonelists(0); + __build_all_zonelists(NULL); cpuset_init_current_mems_allowed(); } else { /* we have to stop all cpus to guaranntee there is no user