diff options
author | 2014-11-24 14:35:24 +0100 | |
---|---|---|
committer | 2014-11-24 16:53:50 +0100 | |
commit | 2b4a273b4266d9928d5b20154fea96f09ea5cb9a (patch) | |
tree | 521f290d8ade86e3524565513314abc99b6d3540 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: move device assignment out of kvm_host.h (diff) | |
download | wireguard-linux-2b4a273b4266d9928d5b20154fea96f09ea5cb9a.tar.xz wireguard-linux-2b4a273b4266d9928d5b20154fea96f09ea5cb9a.zip |
kvm: x86: avoid warning about potential shift wrapping bug
cs.base is declared as a __u64 variable and vector is a u32 so this
causes a static checker warning. The user indeed can set "sipi_vector"
to any u32 value in kvm_vcpu_ioctl_x86_set_vcpu_events(), but the
value should really have 8-bit precision only.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions