Re: [PATCH]io_apic.c: fix compile warning

From: Alan Cox
Date: Wed Jun 17 2009 - 10:27:53 EST


On Wed, 17 Jun 2009 22:25:20 +0800
"Figo.zhang" <figo1802@xxxxxxxxx> wrote:

> fix compile warning:
> arch/x86/kernel/apic/io_apic.c: In function âioapic_write_entryâ:
> arch/x86/kernel/apic/io_apic.c:466: warning: âeuâ is used uninitialized in this function
> arch/x86/kernel/apic/io_apic.c:465: note: âeuâ was declared here

What compiler are you using. Current gcc correctly notices that there are
no uninitialized things to worry about ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/