aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorHe Zhe <[email protected]>2020-08-20 20:54:40 +0800
committerThomas Bogendoerfer <[email protected]>2020-08-22 09:23:15 +0200
commit91dbd73a1739039fa7e9fe5c0169f2817a7f7670 (patch)
treeebb042e938cf62764d9fe87b723744302af06701 /include/linux/fpga/fpga-mgr.h
parented0ec1a81faba7572646ceb515ea8cbf9625bbac (diff)
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: [email protected] Signed-off-by: He Zhe <[email protected]> Reviewed-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions