• Andrew Morton's avatar
    kvm: i386 fix · c0b49b0d
    Andrew Morton authored
    arch/x86/kvm/x86.c: In function 'emulator_cmpxchg_emulated':
    arch/x86/kvm/x86.c:1746: warning: passing argument 2 of 'vcpu->arch.mmu.gva_to_gpa' makes integer from pointer without a cast
    arch/x86/kvm/x86.c:1746: warning: 'addr' is used uninitialized in this function
    
    Is true.  Local variable `addr' shadows incoming arg `addr'.  Avi is on
    vacation for a while, so...
    
    Cc: Avi Kivity <avi@qumranet.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    c0b49b0d
x86.c 76.2 KB