Skip to content
Commit 152b2839 authored by Nicholas Krause's avatar Nicholas Krause Committed by Christian Borntraeger
Browse files

KVM: s390: Fix assumption that kvm_set_irq_routing is always run successfully



This fixes the assumption that kvm_set_irq_routing is always run
successfully by instead making it equal to the variable r which
we use for returning in the function kvm_arch_vm_ioctl instead
of making r equal to zero when calling this particular function
and incorrectly making the caller of kvm_arch_vm_ioctl think
the function has run successfully.

Signed-off-by: default avatarNicholas Krause <xerofoify@gmail.com>
Message-Id: <1438880754-27149-1-git-send-email-xerofoify@gmail.com>
Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
parent fdf03650
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment