[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <55EBEBAB.7020307@linux.intel.com>
Date: Sun, 6 Sep 2015 15:30:51 +0800
From: Xiao Guangrong <guangrong.xiao@...ux.intel.com>
To: Clemens Gruber <clemens.gruber@...ruber.com>, kvm@...r.kernel.org
Cc: x86@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kvm: fix maybe-uninitialized compiler warning
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists