mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Subrata Modak <subrata@linux.vnet.ibm.com>
To: "Figo.zhang" <figo1802@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>, lkml <linux-kernel@vger.kernel.org>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: [PATCH]io_apic.c: fix compile warning
Date: Wed, 17 Jun 2009 20:05:22 +0530	[thread overview]
Message-ID: <1245249322.4870.19.camel@subratamodak.linux.ibm.com> (raw)
In-Reply-To: <bb33bcf20906170729n616dcdbfkc02a168347612138@mail.gmail.com>

> 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



      parent reply	other threads:[~2009-06-17 14:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17 14:25 Figo.zhang
2009-06-17 14:28 ` Alan Cox
2009-06-17 14:29   ` Figo.zhang
     [not found]   ` <bb33bcf20906170729n616dcdbfkc02a168347612138@mail.gmail.com>
2009-06-17 14:35     ` Subrata Modak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1245249322.4870.19.camel@subratamodak.linux.ibm.com \
    --to=subrata@linux.vnet.ibm.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=figo1802@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®