Commit 6ddcba9
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: bc431d2 ("MIPS: Fix fall-through warnings for Clang")
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>1 parent 244eae9 commit 6ddcba9
1 file changed
Lines changed: 10 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2159 | 2159 | | |
2160 | 2160 | | |
2161 | 2161 | | |
2162 | | - | |
2163 | | - | |
2164 | | - | |
2165 | | - | |
2166 | | - | |
2167 | 2162 | | |
2168 | 2163 | | |
2169 | 2164 | | |
2170 | | - | |
2171 | | - | |
| 2165 | + | |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
2172 | 2170 | | |
2173 | 2171 | | |
2174 | 2172 | | |
| |||
2235 | 2233 | | |
2236 | 2234 | | |
2237 | 2235 | | |
2238 | | - | |
2239 | | - | |
2240 | | - | |
2241 | | - | |
2242 | 2236 | | |
2243 | 2237 | | |
2244 | 2238 | | |
2245 | | - | |
2246 | | - | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
2247 | 2244 | | |
2248 | 2245 | | |
2249 | 2246 | | |
| |||
0 commit comments