summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2019-04-16 22:32:46 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-04-30 21:32:16 +0200
commitf99279825ee30b829da9d3b7cf0b9d1b9b2596e6 (patch)
tree450839b9051f0f762f579d3cd75ae9c406af71b3 /drivers/i2c
parentKVM: lapic: Explicitly cancel the hv timer if it's pre-expired (diff)
downloadlinux-f99279825ee30b829da9d3b7cf0b9d1b9b2596e6.tar.xz
linux-f99279825ee30b829da9d3b7cf0b9d1b9b2596e6.zip
KVM: lapic: Refactor ->set_hv_timer to use an explicit expired param
Refactor kvm_x86_ops->set_hv_timer to use an explicit parameter for stating that the timer has expired. Overloading the return value is unnecessarily clever, e.g. can lead to confusion over the proper return value from start_hv_timer() when r==1. Cc: Wanpeng Li <wanpengli@tencent.com> Cc: Liran Alon <liran.alon@oracle.com> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions