diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2019-09-25 15:30:35 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-09-25 15:31:23 +0200 |
commit | cab01850277a827c57270bba48be1d8fe312643d (patch) | |
tree | 3390f74c7c4638e377ab955a103db42cba1a1550 /lib/test_stackinit.c | |
parent | f209a26dd5a5038c53097b5c38e313b8cd042adb (diff) |
KVM: vmx: fix build warnings in hv_enable_direct_tlbflush() on i386
The following was reported on i386:
arch/x86/kvm/vmx/vmx.c: In function 'hv_enable_direct_tlbflush':
arch/x86/kvm/vmx/vmx.c:503:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
pr_debugs() in this function are more or less useless, let's just
remove them. evmcs->hv_vm_id can use 'unsigned long' instead of 'u64'.
Also, simplify the code a little bit.
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions