Skip to content

Commit f9af7b5

Browse files
committed
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
Pull kvm fix from Paolo Bonzini: - Fix cleanup mistake (probably a cut-and-paste error) in a Xen hypercall * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: KVM: x86/xen: Fix cleanup logic in emulation of Xen schedop poll hypercalls
2 parents 01a412d + 5a53249 commit f9af7b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kvm/xen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1526,7 +1526,7 @@ static bool kvm_xen_schedop_poll(struct kvm_vcpu *vcpu, bool longmode,
15261526
if (kvm_read_guest_virt(vcpu, (gva_t)sched_poll.ports, ports,
15271527
sched_poll.nr_ports * sizeof(*ports), &e)) {
15281528
*r = -EFAULT;
1529-
return true;
1529+
goto out;
15301530
}
15311531

15321532
for (i = 0; i < sched_poll.nr_ports; i++) {

0 commit comments

Comments
 (0)