* [PATCH v2 03/15] NULL noise: arch/x86/xen/smp.c [not found] <20090305190954.30062.44759.stgit@f10box.hanneseder.net> @ 2009-03-05 19:13 ` Hannes Eder 2009-03-05 20:15 ` Jeremy Fitzhardinge 0 siblings, 1 reply; 5+ messages in thread From: Hannes Eder @ 2009-03-05 19:13 UTC (permalink / raw) To: trivial Cc: Jeremy Fitzhardinge, Chris Wright, virtualization, xen-devel, kernel-janitors, linux-kernel Fix this sparse warnings: arch/x86/xen/smp.c:316:52: warning: Using plain integer as NULL pointer arch/x86/xen/smp.c:421:60: warning: Using plain integer as NULL pointer Signed-off-by: Hannes Eder <hannes@hanneseder.net> --- v2: other subject, as suggested by Al Viro arch/x86/xen/smp.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index 035582a..7a1f00f 100644 --- a/arch/x86/xen/smp.c +++ b/arch/x86/xen/smp.c @@ -313,7 +313,7 @@ static int __cpuinit xen_cpu_up(unsigned int cpu) BUG_ON(rc); while(per_cpu(cpu_state, cpu) != CPU_ONLINE) { - HYPERVISOR_sched_op(SCHEDOP_yield, 0); + HYPERVISOR_sched_op(SCHEDOP_yield, NULL); barrier(); } @@ -418,7 +418,7 @@ static void xen_smp_send_call_function_ipi(const struct cpumask *mask) /* Make sure other vcpus get a chance to run if they need to. */ for_each_cpu(cpu, mask) { if (xen_vcpu_stolen(cpu)) { - HYPERVISOR_sched_op(SCHEDOP_yield, 0); + HYPERVISOR_sched_op(SCHEDOP_yield, NULL); break; } } ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2 03/15] NULL noise: arch/x86/xen/smp.c 2009-03-05 19:13 ` [PATCH v2 03/15] NULL noise: arch/x86/xen/smp.c Hannes Eder @ 2009-03-05 20:15 ` Jeremy Fitzhardinge 2009-03-17 13:17 ` Jiri Kosina 0 siblings, 1 reply; 5+ messages in thread From: Jeremy Fitzhardinge @ 2009-03-05 20:15 UTC (permalink / raw) To: Hannes Eder Cc: xen-devel, trivial, kernel-janitors, linux-kernel, Chris Wright, virtualization Hannes Eder wrote: > Fix this sparse warnings: > arch/x86/xen/smp.c:316:52: warning: Using plain integer as NULL pointer > arch/x86/xen/smp.c:421:60: warning: Using plain integer as NULL pointer > > Signed-off-by: Hannes Eder <hannes@hanneseder.net> > Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> J ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 03/15] NULL noise: arch/x86/xen/smp.c 2009-03-05 20:15 ` Jeremy Fitzhardinge @ 2009-03-17 13:17 ` Jiri Kosina 2009-03-18 0:27 ` Jeremy Fitzhardinge 0 siblings, 1 reply; 5+ messages in thread From: Jiri Kosina @ 2009-03-17 13:17 UTC (permalink / raw) To: Jeremy Fitzhardinge Cc: Hannes Eder, trivial, xen-devel, kernel-janitors, linux-kernel, Chris Wright, virtualization On Thu, 5 Mar 2009, Jeremy Fitzhardinge wrote: > Hannes Eder wrote: > > Fix this sparse warnings: > > arch/x86/xen/smp.c:316:52: warning: Using plain integer as NULL pointer > > arch/x86/xen/smp.c:421:60: warning: Using plain integer as NULL pointer > > > > Signed-off-by: Hannes Eder <hannes@hanneseder.net> > > > Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Noone seems to have picked this so far, so I have applied it to trivial tree. Thanks, -- Jiri Kosina ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 03/15] NULL noise: arch/x86/xen/smp.c 2009-03-17 13:17 ` Jiri Kosina @ 2009-03-18 0:27 ` Jeremy Fitzhardinge 2009-03-18 10:28 ` Jiri Kosina 0 siblings, 1 reply; 5+ messages in thread From: Jeremy Fitzhardinge @ 2009-03-18 0:27 UTC (permalink / raw) To: Jiri Kosina Cc: Jeremy Fitzhardinge, xen-devel@lists.xensource.com, trivial@kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Wright, virtualization@lists.osdl.org, Hannes Eder Jiri Kosina wrote: > > Noone seems to have picked this so far, so I have applied it to trivial > tree. Thanks, > I've got it queued up, but I'm sure we'll be able to resolve any conflicts if it goes via both paths... J ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 03/15] NULL noise: arch/x86/xen/smp.c 2009-03-18 0:27 ` Jeremy Fitzhardinge @ 2009-03-18 10:28 ` Jiri Kosina 0 siblings, 0 replies; 5+ messages in thread From: Jiri Kosina @ 2009-03-18 10:28 UTC (permalink / raw) To: Jeremy Fitzhardinge Cc: xen-devel@lists.xensource.com, trivial@kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Wright, virtualization@lists.osdl.org, Hannes Eder On Tue, 17 Mar 2009, Jeremy Fitzhardinge wrote: > > Noone seems to have picked this so far, so I have applied it to trivial > > tree. Thanks, > I've got it queued up, but I'm sure we'll be able to resolve any conflicts if > it goes via both paths... No problem, I have dropped it from trivial tree, thanks for letting me know. -- Jiri Kosina SUSE Labs ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-03-18 10:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20090305190954.30062.44759.stgit@f10box.hanneseder.net>
2009-03-05 19:13 ` [PATCH v2 03/15] NULL noise: arch/x86/xen/smp.c Hannes Eder
2009-03-05 20:15 ` Jeremy Fitzhardinge
2009-03-17 13:17 ` Jiri Kosina
2009-03-18 0:27 ` Jeremy Fitzhardinge
2009-03-18 10:28 ` Jiri Kosina
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).