From: Christian Borntraeger Date: Wed, 3 Sep 2014 14:21:32 +0000 (+0200) Subject: KVM: s390: unintended fallthrough for external call X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f346026e55f1efd3949a67ddd1dcea7c1b9a615e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git KVM: s390: unintended fallthrough for external call We must not fallthrough if the conditions for external call are not met. Signed-off-by: Christian Borntraeger Reviewed-by: Thomas Huth Cc: stable@vger.kernel.org --- diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c index d56da1db8ba0..4abf819a11a5 100644 --- a/arch/s390/kvm/interrupt.c +++ b/arch/s390/kvm/interrupt.c @@ -86,6 +86,7 @@ static int __must_check __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;