lkml.org 
[lkml]   [2009]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH]io_apic.c: fix compile warning
    From
    Date
    > 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/

    \
     
     \ /
      Last update: 2009-06-17 16:39    [W:0.021 / U:150.544 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site