On Mon, 30 Oct 2006 10:02:31 +0100
Ingo Molnar <[email protected]> wrote:
> * Stefan Richter <[email protected]> wrote:
>
> > Fix warning
> > arch/i386/kernel/io_apic.c: In function `create_irq':
> > arch/i386/kernel/io_apic.c:2420: warning: 'vector' might be used uninitialized in this function
>
> > @@ -2421,6 +2421,7 @@ int create_irq(void)
> > unsigned long flags;
> >
> > irq = -ENOSPC;
> > + vector = 0;
>
> NAK - the code is fine, and this is fixed in Jeff's gcc-warnings tree
> via annotation.
err, what gcc-warnings tree?
git+ssh://master.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git#gccbug
just does lots of initialise-to-zero thingies, doesn't have any special
annotation and doesn't fix io_apic.c.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]