aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorPeter Xu <[email protected]>2019-09-06 10:17:21 +0800
committerPaolo Bonzini <[email protected]>2019-09-10 19:13:20 +0200
commitc5c5d6fae001c653a4e831325e062816a60c5e38 (patch)
treec74165a1d0516ab3f4ac57fbb820b174a874b8eb /tools/perf/util/c++/clang.cpp
parent13a7e370cb89e2ec0859c99960b24b12a3c2c029 (diff)
KVM: VMX: Change ple_window type to unsigned int
The VMX ple_window is 32 bits wide, so logically it can overflow with an int. The module parameter is declared as unsigned int which is good, however the dynamic variable is not. Switching all the ple_window references to use unsigned int. The tracepoint changes will also affect SVM, but SVM is using an even smaller width (16 bits) so it's always fine. Suggested-by: Sean Christopherson <[email protected]> Reviewed-by: Sean Christopherson <[email protected]> Signed-off-by: Peter Xu <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions