Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 705d0abb authored by Santosh Sivaraj's avatar Santosh Sivaraj Committed by Michael Ellerman
Browse files

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: default avatarSantosh Sivaraj <santosh@fossix.org>
Reviewed-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190729055536.25591-1-santosh@fossix.org
parent cee3536d
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -239,6 +239,7 @@ static int kvmppc_mmu_book3s_32_xlate_pte(struct kvm_vcpu *vcpu, gva_t eaddr,
				case 2:
				case 2:
				case 6:
				case 6:
					pte->may_write = true;
					pte->may_write = true;
					/* fall through */
				case 3:
				case 3:
				case 5:
				case 5:
				case 7:
				case 7: