lkml.org 
[lkml]   [2008]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v7 4/8] sched: nominate preferred wakeup cpu
On Sat, 20 Dec 2008 10:06:38 +0530 Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> wrote:

> >
> > kernel/sched.c: In function 'schedule':
> > kernel/sched.c:3679: warning: 'active_balance' may be used uninitialized in this function
> >
> > This warning is correct - the code is buggy.
>
> Yes this is my code bug. I did not see the warning in sched.c. Is
> there any build option that I need to pass in order to get -Wall
> effect?

That was just with plain old kbuild: `make allmodconfig;make'.

That warning was produced by gcc-4.0.2. If you're using something more
recent then gcc has regressed.


\
 
 \ /
  Last update: 2008-12-20 05:49    [from the cache]
©2003-2011 Jasper Spaans