Messages in this thread | | | Subject | Re: [PATCH]io_apic.c: fix compile warning | From | Subrata Modak <> | Date | Wed, 17 Jun 2009 20:05:22 +0530 |
| |
> On Wed, 17 Jun 2009 22:25:20 +0800 > "Figo.zhang" <figo1802@gmail.com> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |