diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-13 20:09:06 +0200 |
---|---|---|
committer | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-13 20:57:44 +0200 |
commit | f336a009f8e3dd0b47168565584608a4a62cbbb4 (patch) | |
tree | 6cb7a96351016316788de9dc9b859b7012ba1492 /include/math-emu | |
parent | cpufreq: Fix fall-through warning for Clang (diff) | |
download | linux-f336a009f8e3dd0b47168565584608a4a62cbbb4.tar.xz linux-f336a009f8e3dd0b47168565584608a4a62cbbb4.zip |
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.h | 2 |
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): \ |