* Warning in -next w/ "ARM: 7011/1: Add ARM cpu topology definition"
@ 2011-10-14 9:31 Will Deacon
2011-10-14 9:57 ` Vincent Guittot
0 siblings, 1 reply; 2+ messages in thread
From: Will Deacon @ 2011-10-14 9:31 UTC (permalink / raw)
To: linux-arm-kernel
Hi Vincent,
When compiling next with SCHED_MC enabled I get a warning from sched.c
because your topology functions (declared in arch/arm/include/asm/topology.h)
take unsigned int cpu rather than int cpu:
kernel/sched.c:7354:2: warning: initialization from incompatible pointer type
7353 #ifdef CONFIG_SCHED_MC
7354 { sd_init_MC, cpu_coregroup_mask, },
7355 #endif
Apologies if you've already got a fix queued for this,
Will
^ permalink raw reply [flat|nested] 2+ messages in thread* Warning in -next w/ "ARM: 7011/1: Add ARM cpu topology definition"
2011-10-14 9:31 Warning in -next w/ "ARM: 7011/1: Add ARM cpu topology definition" Will Deacon
@ 2011-10-14 9:57 ` Vincent Guittot
0 siblings, 0 replies; 2+ messages in thread
From: Vincent Guittot @ 2011-10-14 9:57 UTC (permalink / raw)
To: linux-arm-kernel
Hi Will,
Thanks for pointing out this.
I have based my cpu topology patch on sh one which also uses unsigned
int and haven't noticed this warning during compilation
I'm going to fix this
Vincent
On 14 October 2011 11:31, Will Deacon <will.deacon@arm.com> wrote:
> Hi Vincent,
>
> When compiling next with SCHED_MC enabled I get a warning from sched.c
> because your topology functions (declared in arch/arm/include/asm/topology.h)
> take unsigned int cpu rather than int cpu:
>
> kernel/sched.c:7354:2: warning: initialization from incompatible pointer type
>
> 7353 #ifdef CONFIG_SCHED_MC
> 7354 ? ? ? ? { sd_init_MC, cpu_coregroup_mask, },
> 7355 #endif
>
> Apologies if you've already got a fix queued for this,
>
> Will
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-14 9:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-14 9:31 Warning in -next w/ "ARM: 7011/1: Add ARM cpu topology definition" Will Deacon
2011-10-14 9:57 ` Vincent Guittot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox