linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm/page_alloc: use NULL instead of 0 for ptr
@ 2006-09-26  4:48 Randy Dunlap, Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap, Randy Dunlap @ 2006-09-26  4:48 UTC (permalink / raw)
  To: akpm, viro; +Cc: linux-mm

Use NULL instead of 0 for pointer value, eliminate sparse warnings.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 mm/page_alloc.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2618-g4.orig/mm/page_alloc.c
+++ linux-2618-g4/mm/page_alloc.c
@@ -1558,7 +1558,7 @@ static int __meminit __build_all_zonelis
 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


---

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-26  4:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-26  4:48 [PATCH] mm/page_alloc: use NULL instead of 0 for ptr Randy Dunlap, Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox