From: Xiao Guangrong <guangrong.xiao@linux.intel.com>
To: Clemens Gruber <clemens.gruber@pqgruber.com>, kvm@vger.kernel.org
Cc: x86@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] kvm: fix maybe-uninitialized compiler warning
Date: Sun, 6 Sep 2015 15:30:51 +0800 [thread overview]
Message-ID: <55EBEBAB.7020307@linux.intel.com> (raw)
In-Reply-To: <1441400876-20563-1-git-send-email-clemens.gruber@pqgruber.com>
On 09/05/2015 05:07 AM, Clemens Gruber wrote:
> Fixes the following compiler warning, occuring with GCC 5.2.0:
>
> arch/x86/kvm/mmu.c: In function ‘handle_mmio_page_fault_common’:
> arch/x86/kvm/mmu.c:3332:9: warning: ‘leaf’ may be used uninitialized in
> this
> function [-Wmaybe-uninitialized]
> while (root >= leaf) {
> ^
> arch/x86/kvm/mmu.c:3304:12: note: ‘leaf’ was declared here
> int root, leaf;
>
Clemens, this is a know issue, please refer to:
https://lkml.org/lkml/2015/9/1/27
prev parent reply other threads:[~2015-09-06 7:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-04 21:07 [PATCH] kvm: fix maybe-uninitialized compiler warning Clemens Gruber
2015-09-06 7:30 ` Xiao Guangrong [this message]
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=55EBEBAB.7020307@linux.intel.com \
--to=guangrong.xiao@linux.intel.com \
--cc=clemens.gruber@pqgruber.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=x86@kernel.org \
/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).