summaryrefslogtreecommitdiff
path: root/include/math-emu
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2021-07-13 13:09:06 -0500
committerGustavo A. R. Silva <gustavoars@kernel.org>2021-07-13 13:57:44 -0500
commitf336a009f8e3dd0b47168565584608a4a62cbbb4 (patch)
tree6cb7a96351016316788de9dc9b859b7012ba1492 /include/math-emu
parent2e7ea96924acc502929c3ffa0fcbdaeec00b2208 (diff)
math-emu: Fix fall-through warning
Fix the following fallthrough warning (nds32-randconfig with GCC): include/math-emu/op-common.h:332:8: warning: this statement may fall through [-Wimplicit-fallthrough=] Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/lkml/60edca25.k00ut905IFBjPyt5%25lkp@intel.com/ Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Diffstat (limited to 'include/math-emu')
-rw-r--r--include/math-emu/op-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/math-emu/op-common.h b/include/math-emu/op-common.h
index 143568d64b20..4b57bbba588a 100644
--- a/include/math-emu/op-common.h
+++ b/include/math-emu/op-common.h
@@ -338,7 +338,7 @@ do { \
FP_SET_EXCEPTION(FP_EX_INVALID | FP_EX_INVALID_ISI); \
break; \
} \
- /* FALLTHRU */ \
+ fallthrough; \
\
case _FP_CLS_COMBINE(FP_CLS_INF,FP_CLS_NORMAL): \
case _FP_CLS_COMBINE(FP_CLS_INF,FP_CLS_ZERO): \