diff options
author | Santosh Sivaraj <santosh@fossix.org> | 2019-07-29 11:25:36 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-07-29 22:23:58 +1000 |
commit | 705d0abbcc7adf04743d04ea8754acbcdf21c326 (patch) | |
tree | 05c32835f91c3091c7a0f9503a1711d759e65a49 /arch | |
parent | cee3536d24a1d5db66b9f68c3ece0af128187ab4 (diff) | |
download | linux-stable-705d0abbcc7adf04743d04ea8754acbcdf21c326.tar.gz linux-stable-705d0abbcc7adf04743d04ea8754acbcdf21c326.tar.bz2 linux-stable-705d0abbcc7adf04743d04ea8754acbcdf21c326.zip |
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 <santosh@fossix.org>
Reviewed-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190729055536.25591-1-santosh@fossix.org
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kvm/book3s_32_mmu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/book3s_32_mmu.c b/arch/powerpc/kvm/book3s_32_mmu.c index 653936177857..18f244aad7aa 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: |