KVM: s390: clean up return code handling in irq delivery code
authorJens Freimann <jfrei@linux.vnet.ibm.com>
Mon, 1 Dec 2014 16:05:39 +0000 (17:05 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 4 Dec 2014 15:39:00 +0000 (16:39 +0100)
commit99e20009aeee47049900ac152d7a88d4f68697d3
tree6d6d2b7131d650525c342dd1c853ce89ce23e164
parent9185124e8754e54f3ae03ef3b3eab628aa066ef6
KVM: s390: clean up return code handling in irq delivery code

Instead of returning a possibly random or'ed together value, let's
always return -EFAULT if rc is set.

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