kernel_optimize_test/arch/mips/oprofile
He Zhe 91dbd73a17 mips/oprofile: Fix fallthrough placement
We want neither
"
include/linux/compiler_attributes.h:201:41: warning: statement will never
be executed [-Wswitch-unreachable]
  201 | # define fallthrough __attribute__((__fallthrough__))
      |                      ^~~~~~~~~~~~~
"
nor
"
include/linux/compiler_attributes.h:201:41: warning: attribute
'fallthrough' not preceding a case label or default label
  201 | # define fallthrough __attribute__((__fallthrough__))
      |                      ^~~~~~~~~~~~~
"

It's not worth adding one more macro. Let's simply place the fallthrough
in between the expansions.

Fixes: c9b0299034 ("MIPS: Use fallthrough for arch/mips")
Cc: stable@vger.kernel.org
Signed-off-by: He Zhe <zhe.he@windriver.com>
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2020-08-22 09:23:15 +02:00
..
backtrace.c
common.c MIPS: oprofile: remove unneeded semicolon in common.c 2020-04-28 13:08:42 +02:00
Makefile
op_impl.h
op_model_loongson2.c
op_model_loongson3.c
op_model_mipsxx.c mips/oprofile: Fix fallthrough placement 2020-08-22 09:23:15 +02:00