From: Andrew Morton <akpm@osdl.org>
To: Dan Kegel <dank@kegel.com>
Cc: jbglaw@lug-owl.de, linux-kernel@vger.kernel.org,
Richard Henderson <rth@twiddle.net>
Subject: Re: 2.6.11.3 build problem in arch/alpha/kernel/srcons.c with gcc-4.0
Date: Sun, 20 Mar 2005 19:03:52 -0800 [thread overview]
Message-ID: <20050320190352.65cc1396.akpm@osdl.org> (raw)
In-Reply-To: <423E238F.3030805@kegel.com>
Dan Kegel <dank@kegel.com> wrote:
>
> Anyone with an alpha care to suggest a fix for this?
>
> arch/alpha/kernel/srmcons.c: In function 'srmcons_open':
> arch/alpha/kernel/srmcons.c:196: warning: 'srmconsp' may be used uninitialized in this function
> make[1]: *** [arch/alpha/kernel/srmcons.o] Error 1
> make: *** [arch/alpha/kernel] Error 2
>
> I get this when building the 2.6.11.3 kernel with a recent gcc-4.0 snapshot.
>
It's beyond gcc's ability to figure out that the code is OK. Options would
be to disable -Werror, or to artificially initialise that variable.
next prev parent reply other threads:[~2005-03-21 3:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-21 1:29 Dan Kegel
2005-03-21 3:03 ` Andrew Morton [this message]
2005-03-21 2:16 ` Dan Kegel
2005-03-21 3:19 ` Richard Henderson
2005-03-21 4:26 ` Richard Henderson
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=20050320190352.65cc1396.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=dank@kegel.com \
--cc=jbglaw@lug-owl.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rth@twiddle.net \
/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®