linux/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 Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
common.c MIPS: oprofile: remove unneeded semicolon in common.c 2020-04-28 13:08:42 +02:00
Makefile MIPS: Loongson64: Rename CPU TYPES 2019-10-31 15:03:10 -07:00
op_impl.h MIPS: oprofile: Fix typo 2016-05-28 12:35:09 +02:00
op_model_loongson2.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
op_model_loongson3.c Merge branch 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-12-25 14:05:56 -08:00
op_model_mipsxx.c mips/oprofile: Fix fallthrough placement 2020-08-22 09:23:15 +02:00