Re: [PATCH 3/3] sched: fix signedness warnings in sched.c

From: Ingo Molnar
Date: Sun Feb 17 2008 - 11:33:19 EST



* Harvey Harrison <harvey.harrison@xxxxxxxxx> wrote:

> Unsigned long values are always assigned to switch_count,
> make it unsigned long.
>
> kernel/sched.c:3897:15: warning: incorrect type in assignment (different signedness)
> kernel/sched.c:3897:15: expected long *switch_count
> kernel/sched.c:3897:15: got unsigned long *<noident>
> kernel/sched.c:3921:16: warning: incorrect type in assignment (different signedness)
> kernel/sched.c:3921:16: expected long *switch_count
> kernel/sched.c:3921:16: got unsigned long *<noident>

thanks, applied.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/