From: Denis Kirjanov <dkirjanov@kernel.org>
To: Alexander Graf <agraf@suse.de>
Cc: mtosatti@redhat.com, kvm-ppc@vger.kernel.org,
linuxppc-dev@ozlabs.org,
Denis Kirjanov <dkirjanov@hera.kernel.org>,
avi@redhat.com
Subject: Re: [PATCH] kvm/ppc: fix build warning
Date: Fri, 25 Jun 2010 13:02:38 +0400 [thread overview]
Message-ID: <4C2470AE.6090004@kernel.org> (raw)
In-Reply-To: <B5C3D944-F5D4-4DC1-BB7D-699CE10EDC15@suse.de>
On 06/25/2010 12:42 AM, Alexander Graf wrote:
>
> On 24.06.2010, at 21:44, Denis Kirjanov wrote:
>
>> Fix build warning:
>> arch/powerpc/kvm/book3s_64_mmu.c: In function 'kvmppc_mmu_book3s_64_esid_to_vsid':
>> arch/powerpc/kvm/book3s_64_mmu.c:446: warning: 'slb' may be used uninitialized in this function
>> Signed-off-by: Denis Kirjanov<dkirjanov@kernel.org>
>
> Are you sure this isn't a broken compiler? I don't see where it could be used uninitialized.
I'm using gcc version 4.3.4 (Gentoo 4.3.4 p1.1, pie-10.1.5)
slb pointer initialized inside conditional branch
and used later in the case case MSR_DR|MSR_IR
next prev parent reply other threads:[~2010-06-25 9:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-24 19:44 [PATCH] kvm/ppc: fix build warning Denis Kirjanov
2010-06-24 20:42 ` Alexander Graf
2010-06-25 9:02 ` Denis Kirjanov [this message]
2010-06-25 9:21 ` Alexander Graf
2010-06-25 9:40 ` Denis Kirjanov
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=4C2470AE.6090004@kernel.org \
--to=dkirjanov@kernel.org \
--cc=agraf@suse.de \
--cc=avi@redhat.com \
--cc=dkirjanov@hera.kernel.org \
--cc=kvm-ppc@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=mtosatti@redhat.com \
/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;
as well as URLs for NNTP newsgroup(s).