diff options
author | He Zhe <zhe.he@windriver.com> | 2020-08-20 20:54:40 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-08-22 09:23:15 +0200 |
commit | 91dbd73a1739039fa7e9fe5c0169f2817a7f7670 (patch) | |
tree | ebb042e938cf62764d9fe87b723744302af06701 /drivers/nvdimm | |
parent | ed0ec1a81faba7572646ceb515ea8cbf9625bbac (diff) | |
download | linux-91dbd73a1739039fa7e9fe5c0169f2817a7f7670.tar.bz2 |
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: c9b029903466 ("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>
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions