diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-03-04 16:24:22 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-16 17:57:48 +0100 |
| commit | abbed4fa94f69d2046c6f7c12f6ecabf195c553e (patch) | |
| tree | e6c4a491cc13e92f376685f4dac7d35243ef3afb /tools/perf/scripts/python | |
| parent | KVM: nVMX: Drop unnecessary check on ept caps for execute-only (diff) | |
| download | linux-abbed4fa94f69d2046c6f7c12f6ecabf195c553e.tar.gz linux-abbed4fa94f69d2046c6f7c12f6ecabf195c553e.zip | |
KVM: x86: Fix warning due to implicit truncation on 32-bit KVM
Explicitly cast the integer literal to an unsigned long when stuffing a
non-canonical value into the host virtual address during private memslot
deletion. The explicit cast fixes a warning that gets promoted to an
error when running with KVM's newfangled -Werror setting.
arch/x86/kvm/x86.c:9739:9: error: large integer implicitly truncated
to unsigned type [-Werror=overflow]
Fixes: a3e967c0b87d3 ("KVM: Terminate memslot walks via used_slots"
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
