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

From: Gleb Natapov
Date: Mon Feb 11 2013 - 05:06:11 EST


On Mon, Feb 11, 2013 at 11:04:39AM +0100, Ingo Molnar wrote:
>
> * 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?
>
Yes, of course. Thank you.

--
Gleb.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/