All of lore.kernel.org
 help / color / mirror / Atom feed
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 09:40:12 +0000	[thread overview]
Message-ID: <4C24797C.6030703@kernel.org> (raw)
In-Reply-To: <4C2470AE.6090004@kernel.org>

On 06/25/2010 01:02 PM, Denis Kirjanov wrote:
> 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
>
This is based on linux-next tree (-next-20100623)

WARNING: multiple messages have this Message-ID (diff)
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:40:12 +0400	[thread overview]
Message-ID: <4C24797C.6030703@kernel.org> (raw)
In-Reply-To: <4C2470AE.6090004@kernel.org>

On 06/25/2010 01:02 PM, Denis Kirjanov wrote:
> 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
>
This is based on linux-next tree (-next-20100623)

  parent reply	other threads:[~2010-06-25  9:40 UTC|newest]

Thread overview: 9+ 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-24 20:42   ` Alexander Graf
2010-06-25  9:02   ` Denis Kirjanov
2010-06-25  9:02     ` Denis Kirjanov
2010-06-25  9:21     ` Alexander Graf
2010-06-25  9:21       ` Alexander Graf
2010-06-25  9:40     ` Denis Kirjanov [this message]
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=4C24797C.6030703@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.