diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-13 13:41:16 -0500 |
---|---|---|
committer | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-13 15:08:15 -0500 |
commit | cf6678aec2530701f8e13b7551d131599c33e5ca (patch) | |
tree | 08d5aa5238c6e902fe7182bbe35e5745cde845bc /arch/mips/sgi-ip27/ip27-hubio.c | |
parent | bc431d2153cc290573531601b5004babe7011568 (diff) |
MIPS: Fix unreachable code issue
Fix the following warning (mips-randconfig):
arch/mips/include/asm/fpu.h:79:3: warning: fallthrough annotation in unreachable code [-Wimplicit-fallthrough]
Originally, the /* fallthrough */ comment was introduced by commit:
597ce1723e0f ("MIPS: Support for 64-bit FP with O32 binaries")
and it was wrongly replaced with fallthrough; by commit:
c9b029903466 ("MIPS: Use fallthrough for arch/mips")
As the original comment is actually useful, fix this issue by
removing unreachable fallthrough; statement and place the original
/* fallthrough */ comment back.
Fixes: c9b029903466 ("MIPS: Use fallthrough for arch/mips")
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 'arch/mips/sgi-ip27/ip27-hubio.c')
0 files changed, 0 insertions, 0 deletions