diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-09-03 16:21:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-30 09:38:19 -0700 |
commit | a4095e0bcfb8bade0db43db9c90dd8ee4b62ab13 (patch) | |
tree | d191efddcba8f54320e60e1725e59fba970f5575 | |
parent | 55eb96ec53e7b041f10ffcc7b1442a31d89d4488 (diff) | |
download | lwn-a4095e0bcfb8bade0db43db9c90dd8ee4b62ab13.tar.gz lwn-a4095e0bcfb8bade0db43db9c90dd8ee4b62ab13.zip |
KVM: s390: unintended fallthrough for external call
commit f346026e55f1efd3949a67ddd1dcea7c1b9a615e upstream.
We must not fallthrough if the conditions for external call are not met.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | arch/s390/kvm/interrupt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c index 5f79d2d79ca7..f1ba119878ec 100644 --- a/arch/s390/kvm/interrupt.c +++ b/arch/s390/kvm/interrupt.c @@ -71,6 +71,7 @@ static int __interrupt_is_deliverable(struct kvm_vcpu *vcpu, return 0; if (vcpu->arch.sie_block->gcr[0] & 0x2000ul) return 1; + return 0; case KVM_S390_INT_EMERGENCY: if (psw_extint_disabled(vcpu)) return 0; |