Re: [PATCH linux-next] x86/kvm: Fix compile warning inkvm_register_steal_time()

From: Ingo Molnar
Date: Mon Feb 11 2013 - 05:04:49 EST

* Gleb Natapov <gleb@xxxxxxxxxx> wrote:

> On Tue, Feb 05, 2013 at 07:57:22PM -0700, Shuah Khan wrote:
> > Fix the following compile warning in kvm_register_steal_time():
> > CC arch/x86/kernel/kvm.o
> > arch/x86/kernel/kvm.c: In function ?kvm_register_steal_time?:
> > arch/x86/kernel/kvm.c:302:3: warning: format ?%lx? expects argument of type ?long unsigned int?, but argument 3 has type ?phys_addr_t? [-Wformat]
> >
> Ingo, the warning is from the tip tree. Can you take the fix?

Yeah, it came via these x86 improvements to __pa():

5dfd486c4750 x86, kvm: Fix kvm's use of __pa() on percpu areas
d76565344512 x86, mm: Create slow_virt_to_phys()
f3c4fbb68e93 x86, mm: Use new pagetable helpers in try_preserve_large_page()
4cbeb51b860c x86, mm: Pagetable level size/shift/mask helpers
a25b9316841c x86, mm: Make DEBUG_VIRTUAL work earlier in boot

So up the fix - I added an Acked-by from you as well, is that
fine with you?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at