lkml.org 
[lkml]   [2015]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] kvm: fix maybe-uninitialized compiler warning
From
Date


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


\
 
 \ /
  Last update: 2015-09-06 10:01    [W:0.050 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site