KVM: s390: fix bug in interrupt parameter check
authorJens Freimann <jfrei@linux.vnet.ibm.com>
Thu, 15 Jan 2015 13:40:34 +0000 (14:40 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 23 Jan 2015 12:25:42 +0000 (13:25 +0100)
commit94d1f564adb9937d71a9509d4e1b64f073ea07ab
tree444b949852b0715c70956310c994a2eaed0ed07f
parent428d53be5e7468769d4e7899cca06ed5f783a6e1
KVM: s390: fix bug in interrupt parameter check

When we convert interrupt data from struct kvm_s390_interrupt to
struct kvm_s390_irq we need to check the data in the input parameter
not the output parameter.

Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/interrupt.c