projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e7ea96
)
math-emu: Fix fall-through warning
author
Gustavo A. R. Silva
<gustavoars@kernel.org>
Tue, 13 Jul 2021 18:09:06 +0000
(13:09 -0500)
committer
Gustavo A. R. Silva
<gustavoars@kernel.org>
Tue, 13 Jul 2021 18:57:44 +0000
(13:57 -0500)
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>
include/math-emu/op-common.h
patch
|
blob
|
history
diff --git
a/include/math-emu/op-common.h
b/include/math-emu/op-common.h
index 143568d64b207ebd9acd8eb3e420cef286d9f9e9..4b57bbba588afd68d93b9822ada8b7bbb604e35f 100644
(file)
--- 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): \