From: Andrew Morton <akpm@linux-foundation.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: Jirka Pirko <jirka@pirko.cz>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] get rid of some "may be used uninitialized" compiler warnings
Date: Sat, 29 Nov 2008 01:39:28 -0800 [thread overview]
Message-ID: <20081129013928.1bb41320.akpm@linux-foundation.org> (raw)
In-Reply-To: <20081129092601.GA26691@elte.hu>
On Sat, 29 Nov 2008 10:26:01 +0100 Ingo Molnar <mingo@elte.hu> wrote:
> 196 files changed, 545 insertions(+), 436 deletions(-)
Is any of this going anywhere?
There's a lot of resistance to fixing these things with
uninitialized_var() (usually bogus resistance, IMO, but one
gets tired of repeating oneself).
Many of these warnings can be fixed by restructuring the code, and
often the end result is better overall.
But it's a lot more work. It would be much more scalable to, umm,
motivate the various code-owners to fix their stuff independently. I
don't know how, really - people just don't seem to appreciate how
irritating and damaging that great warning spew is.
Is there any prospect that some of these things will be fixed by newer
gcc versions? If so, we could just ignore those warnings and
concentrate on the ones which newer gcc emits.
next prev parent reply other threads:[~2008-11-29 9:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-28 23:33 Jirka Pirko
2008-11-29 9:26 ` Ingo Molnar
2008-11-29 9:39 ` Andrew Morton [this message]
2008-11-29 10:13 ` Ingo Molnar
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=20081129013928.1bb41320.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=jirka@pirko.cz \
--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®