diff options
author | Mathieu Malaterre <malat@debian.org> | 2018-12-03 22:23:43 +0100 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2018-12-03 22:42:38 +0100 |
commit | 69095e3900b22bc289ade04ac548ae6b9e8f45ec (patch) | |
tree | 2eb13009526bc88fc118b335db4bebf49e4fa078 /arch/mips/mm/tlbex.c | |
parent | MIPS: Hardcode cpu_has_mips* where target ISA allows (diff) | |
download | linux-69095e3900b22bc289ade04ac548ae6b9e8f45ec.tar.xz linux-69095e3900b22bc289ade04ac548ae6b9e8f45ec.zip |
mips: annotate implicit fall throughs
There is a plan to build the kernel with -Wimplicit-fallthrough and
these places in the code produced warnings. Fix them up.
This patch produces no change in behaviour, but should be reviewed in
case these are actually bugs not intentional fallthoughs.
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Kees Cook <keescook@google.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Diffstat (limited to '')
-rw-r--r-- | arch/mips/mm/tlbex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c index 067714291643..37b1cb246332 100644 --- a/arch/mips/mm/tlbex.c +++ b/arch/mips/mm/tlbex.c @@ -576,6 +576,7 @@ void build_tlb_write_entry(u32 **p, struct uasm_label **l, case CPU_R5500: if (m4kc_tlbp_war()) uasm_i_nop(p); + /* fall through */ case CPU_ALCHEMY: tlbw(p); break; |