Re: Warnings from sched_debug.c

2007-12-21 Thread Meelis Roos
> it should be harmless. Does the patch below fix the warnings? Yes, the warnings are gone, thanks! However, I found another somewhat strange thing while testing it - touching kernels/sched_debug.c does not cause a recompile since sched_debug.c is only #included from sched.c. Found it because I

Re: Warnings from sched_debug.c

2007-12-21 Thread Ingo Molnar
* Meelis Roos <[EMAIL PROTECTED]> wrote: > This happens on sparc64 with 2.6.24-rc6 (gcc-4.2): > > CC kernel/sched.o > In file included from kernel/sched.c:879: > kernel/sched_debug.c: In function 'nsec_high': > kernel/sched_debug.c:38: warning: comparison of distinct pointer types lacks