From: Santosh Sivaraj Date: Mon, 29 Jul 2019 05:55:36 +0000 (+0530) Subject: powerpc/kvm: Fall through switch case explicitly X-Git-Tag: v5.3-rc3~3^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=705d0abbcc7adf04743d04ea8754acbcdf21c326;p=thirdparty%2Flinux.git powerpc/kvm: Fall through switch case explicitly Implicit fallthrough warning was enabled globally which broke the build. Make it explicit with a `fall through` comment. Signed-off-by: Santosh Sivaraj Reviewed-by: Stephen Rothwell Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20190729055536.25591-1-santosh@fossix.org --- diff --git a/arch/powerpc/kvm/book3s_32_mmu.c b/arch/powerpc/kvm/book3s_32_mmu.c index 6539361778578..18f244aad7aaa 100644 --- a/arch/powerpc/kvm/book3s_32_mmu.c +++ b/arch/powerpc/kvm/book3s_32_mmu.c @@ -239,6 +239,7 @@ static int kvmppc_mmu_book3s_32_xlate_pte(struct kvm_vcpu *vcpu, gva_t eaddr, case 2: case 6: pte->may_write = true; + /* fall through */ case 3: case 5: case 7: