From: Gustavo A. R. Silva Date: Tue, 13 Jul 2021 18:09:06 +0000 (-0500) Subject: math-emu: Fix fall-through warning X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f336a009f8e3dd0b47168565584608a4a62cbbb4;p=linux.git 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 Link: https://lore.kernel.org/lkml/60edca25.k00ut905IFBjPyt5%25lkp@intel.com/ Signed-off-by: Gustavo A. R. Silva --- diff --git a/include/math-emu/op-common.h b/include/math-emu/op-common.h index 143568d64b207..4b57bbba588af 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): \