From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
To: Thiago Farina <tfransosi@gmail.com>
Cc: kosaki.motohiro@jp.fujitsu.com,
LKML <linux-kernel@vger.kernel.org>,
Martin Schwidefsky <schwidefsky@de.ibm.com>,
Heiko Carstens <heiko.carstens@de.ibm.com>,
linux390@de.ibm.com, linux-s390@vger.kernel.org
Subject: Re: [PATCH] s390: convert old cpumask API into new one
Date: Fri, 29 Apr 2011 00:45:47 +0900 (JST) [thread overview]
Message-ID: <20110429004726.3D83.A69D9226@jp.fujitsu.com> (raw)
In-Reply-To: <BANLkTi=FwXMo=qRAS=1ORDF28kxXiR=G3Q@mail.gmail.com>
> > @@ -1016,21 +1016,21 @@ int __ref smp_rescan_cpus(void)
> >
> > get_online_cpus();
> > mutex_lock(&smp_cpu_state_mutex);
> > - newcpus = cpu_present_map;
> > + cpumask_copy(&newcpus, cpu_present_mask);
> > rc = __smp_rescan_cpus();
> > if (rc)
> > goto out;
> > - cpus_andnot(newcpus, cpu_present_map, newcpus);
> > - for_each_cpu_mask(cpu, newcpus) {
> > + cpumask_andnot(&newcpus, cpu_present_mask, &newcpus);
> > + for_each_cpu(cpu,&newcpus) {
> please, could you add a space between cpu and ,&newcpus?
Thank you for finding.
>From 46812a238d85243a18dcec0749ba42d5f1a0e1ab Mon Sep 17 00:00:00 2001
From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Date: Fri, 29 Apr 2011 00:44:43 +0900
Subject: [PATCH] s390: coding style fix
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
---
arch/s390/kernel/smp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c
index 4cc09b8..a80798b 100644
--- a/arch/s390/kernel/smp.c
+++ b/arch/s390/kernel/smp.c
@@ -1021,7 +1021,7 @@ int __ref smp_rescan_cpus(void)
if (rc)
goto out;
cpumask_andnot(&newcpus, cpu_present_mask, &newcpus);
- for_each_cpu(cpu,&newcpus) {
+ for_each_cpu(cpu, &newcpus) {
rc = smp_add_present_cpu(cpu);
if (rc)
set_cpu_present(cpu, false);
--
1.7.3.1
next prev parent reply other threads:[~2011-04-28 15:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-28 15:01 KOSAKI Motohiro
2011-04-28 15:43 ` Thiago Farina
2011-04-28 15:45 ` KOSAKI Motohiro [this message]
2011-04-29 7:09 ` Heiko Carstens
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=20110429004726.3D83.A69D9226@jp.fujitsu.com \
--to=kosaki.motohiro@jp.fujitsu.com \
--cc=heiko.carstens@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=linux390@de.ibm.com \
--cc=schwidefsky@de.ibm.com \
--cc=tfransosi@gmail.com \
/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
all inboxes | Powered by JetHome®