[PATCH] ARM: cpu topology: fix warning

Will Deacon will.deacon at arm.com
Fri Oct 14 13:23:52 EDT 2011


Hi Vincent,

On Fri, Oct 14, 2011 at 06:14:30PM +0100, Vincent Guittot wrote:
> kernel/sched.c:7354:2: warning: initialization from incompatible pointer type
> 
> Align cpu_coregroup_mask prototype interface with sched_domain_mask_f typedef
> use int cpu instead of unsigned int cpu

Not sure I parse the commit message...

> Signed-off-by: Vincent Guittot <vincent.guittot at linaro.org>
> ---
>  arch/arm/include/asm/topology.h |    2 +-
>  arch/arm/kernel/topology.c      |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

... but this fixes the warning for me:

Reported-and-tested-by: Will Deacon <will.deacon at arm.com>

Thanks,

Will



More information about the linux-arm-kernel mailing list