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

From: Subrata Modak
Date: Wed Jun 17 2009 - 10:35:39 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 ?

Even 4.4.0 and above reports this warning. Last time i remember it
generated somewhere around 70 such warnings. And, then you need to dig
down whether any of them will really introduce bug(s). Else, leave as it
is. It is more of a gcc problem rather than kernel.

Regards--
Subrata


--
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/