From: Borislav Petkov <bp@alien8.de>
To: Avi Kivity <avi@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>,
kvm@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Subject: Re: [PATCH] kvm: Fix build warnings
Date: Tue, 7 Jun 2011 09:28:13 +0200 [thread overview]
Message-ID: <20110607072813.GC21263@liondog.tnic> (raw)
In-Reply-To: <20110531102655.GC24172@elte.hu>
On Tue, May 31, 2011 at 12:26:55PM +0200, Ingo Molnar wrote:
>
> * Avi Kivity <avi@redhat.com> wrote:
>
> > On 05/31/2011 10:38 AM, Ingo Molnar wrote:
> > >* Borislav Petkov<bp@alien8.de> wrote:
> > >
> > >> +++ b/arch/x86/kvm/paging_tmpl.h
> > >> @@ -121,7 +121,7 @@ static int FNAME(walk_addr_generic)(struct guest_walker *walker,
> > >> gva_t addr, u32 access)
> > >> {
> > >> pt_element_t pte;
> > >> - pt_element_t __user *ptep_user;
> > >> + pt_element_t __user *uninitialized_var(ptep_user);
> > >
> > >Note that doing this is actually actively dangerous for two reasons.
> > >
> > >
> >
> > <snip lots of good advice>
> >
> > > Please fix it instead.
> >
> > s/instead/in addition/; while all those changes are good, they are
> > much too large for 3.0. Let's push the simple fix for 3.0 and
> > queue the bigger refactoring to 3.1.
>
> Yeah, that's probably wise, this is a tricky function.
So, any progress on this front? Warning is still there in -rc2.
Thanks.
--
Regards/Gruss,
Boris.
next prev parent reply other threads:[~2011-06-07 7:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-30 9:46 KVM " Borislav Petkov
2011-05-30 10:14 ` Takuya Yoshikawa
2011-05-30 12:46 ` Borislav Petkov
2011-05-30 20:11 ` [PATCH] kvm: Fix " Borislav Petkov
2011-05-31 7:38 ` Ingo Molnar
2011-05-31 8:19 ` Takuya Yoshikawa
2011-05-31 8:20 ` Avi Kivity
2011-05-31 9:02 ` Borislav Petkov
2011-05-31 10:26 ` Ingo Molnar
2011-06-07 7:28 ` Borislav Petkov [this message]
2011-06-07 7:58 ` Avi Kivity
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=20110607072813.GC21263@liondog.tnic \
--to=bp@alien8.de \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mtosatti@redhat.com \
--cc=yoshikawa.takuya@oss.ntt.co.jp \
/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®