Re: powerpc allmodconfig

From: Ingo Molnar
Date: Fri Oct 17 2008 - 07:10:36 EST



* David Miller <davem@xxxxxxxxxxxxx> wrote:

> > net/dccp/options.c: In function 'dccp_parse_options':
> > net/dccp/options.c:67: warning: 'value' may be used uninitialized in
> > this function
>
> Known issue, not trivial to fix, gcc is just being incredibly silly
> here as it can't see all of the control flow.

i just ran into this - do you have any objection against the patch
below?

Should we have a cleaner annotation perhaps instead of
uninitialized_var()? Something like:

#define __used __attribute__((used))

?

Ingo

---------->