]> err.no Git - linux-2.6/commit
[PATCH] i386: Fix io_apic.c warning
authorAndi Kleen <ak@suse.de>
Sat, 9 Dec 2006 20:33:36 +0000 (21:33 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Sat, 9 Dec 2006 20:33:36 +0000 (21:33 +0100)
commit306a22c2a20edf3a440bfb4cf2b94c19dfd81a53
treed6f19ea93994a1e35b837d32a1ac0864b6f582f4
parent7e74437cf60cc84a655e301f1ee48027b3bcf96e
[PATCH] i386: Fix io_apic.c warning

gcc 4.2 warns

linux/arch/i386/kernel/io_apic.c: In function ‘create_irq’:
linux/arch/i386/kernel/io_apic.c:2488: warning: ‘vector’ may be used uninitialized in this function

The warning is false, but somewhat legitimate so work around it.

Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/io_apic.c