diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-09-03 16:21:32 +0200 |
---|---|---|
committer | Zefan Li <lizefan@huawei.com> | 2015-02-02 17:04:37 +0800 |
commit | c002aa006faa936b9b1c29431807fe8ab97df1b2 (patch) | |
tree | 47f40fe389a61edd112b5e2648c1df612e1012bb /arch/s390/kvm | |
parent | d480591d22c6ccf8327da5716f96a41ae1cb9663 (diff) |
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: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'arch/s390/kvm')
-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 10e13b331d38..df69bcb13c79 100644 --- a/arch/s390/kvm/interrupt.c +++ b/arch/s390/kvm/interrupt.c @@ -43,6 +43,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; |