MIPS: Sanitise Cavium switch cases in TLB handler synthesizers
authorMaciej W. Rozycki <macro@orcam.me.uk>
Fri, 4 Mar 2022 21:13:11 +0000 (21:13 +0000)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 7 Mar 2022 12:11:03 +0000 (13:11 +0100)
commit6ddcba9d480b6bcced4223a729794dfa6becb7eb
tree63af7340d6af11850fe73750dd003ec7714e8933
parent244eae91a94c6dab82b3232967d10eeb9dfa21c6
MIPS: Sanitise Cavium switch cases in TLB handler synthesizers

It makes no sense to fall through to `break'.  Therefore reorder the
switch statements so as to have the Cavium cases first, followed by the
default case, which improves readability and pacifies code analysis
tools.  No change in semantics, assembly produced is exactly the same.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Fixes: bc431d2153cc ("MIPS: Fix fall-through warnings for Clang")
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/mm/tlbex.c