From: Randy Dunlap <rdunlap@xenotime.net>
From: Randy Dunlap <rdunlap@xenotime.net>
To: akpm <akpm@osdl.org>, viro <viro@zeniv.linux.org.uk>
Cc: linux-mm@kvack.org
Subject: [PATCH] mm/page_alloc: use NULL instead of 0 for ptr
Date: Mon, 25 Sep 2006 21:48:09 -0700 [thread overview]
Message-ID: <20060925214809.e273de48.rdunlap@xenotime.net> (raw)
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>
reply other threads:[~2006-09-26 4:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060925214809.e273de48.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=akpm@osdl.org \
--cc=linux-mm@kvack.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox