From: Paul Jackson <pj@sgi.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Greg Banks <gnb@melbourne.sgi.com>, Paul Jackson <pj@sgi.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH] cpumask add highest_possible_node_id fix
Date: Wed, 27 Sep 2006 01:54:29 -0700 [thread overview]
Message-ID: <20060927085429.32218.64893.sendpatchset@sam.engr.sgi.com> (raw)
Fix typo in lib/cpumask.c - looks like a cut+paste forgot
to change a cpu macro call to a node macro call. This
typo caused the following build warnings:
lib/cpumask.c: In function `highest_possible_node_id':
lib/cpumask.c:56: warning: passing arg 1 of `__first_cpu' from incompatible pointer type
lib/cpumask.c:56: warning: passing arg 2 of `__next_cpu' from incompatible pointer type
Signed-off-by: Paul Jackson <pj@sgi.com>
---
lib/cpumask.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- 2.6.18-rc7-mm1.orig/lib/cpumask.c 2006-09-26 16:25:57.000000000 -0700
+++ 2.6.18-rc7-mm1/lib/cpumask.c 2006-09-27 01:38:17.000000000 -0700
@@ -53,7 +53,7 @@ int highest_possible_node_id(void)
unsigned int node;
unsigned int highest = 0;
- for_each_cpu_mask(node, node_possible_map)
+ for_each_node_mask(node, node_possible_map)
highest = node;
return highest;
}
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
reply other threads:[~2006-09-27 8:54 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=20060927085429.32218.64893.sendpatchset@sam.engr.sgi.com \
--to=pj@sgi.com \
--cc=akpm@osdl.org \
--cc=gnb@melbourne.sgi.com \
--cc=linux-kernel@vger.kernel.org \
/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
Powered by JetHome