Gustavo A. R. Silva
1eb5f4a3dd
mtd: cfi_util: Fix unreachable code issue
Fix the following warning:
drivers/mtd/chips/cfi_util.c:112:3: warning: fallthrough annotation in unreachable code [-Wimplicit-fallthrough]
fallthrough;
^
include/linux/compiler_attributes.h:210:41: note: expanded from macro 'fallthrough'
# define fallthrough __attribute__((__fallthrough__))
^
drivers/mtd/chips/cfi_util.c:168:3: warning: fallthrough annotation in unreachable code [-Wimplicit-fallthrough]
fallthrough;
^
include/linux/compiler_attributes.h:210:41: note: expanded from macro 'fallthrough'
# define fallthrough __attribute__((__fallthrough__))
by placing the fallthrough; statement inside ifdeffery.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
2021-07-12 11:15:28 -05:00
..
2021-04-16 20:30:54 +02:00
2021-04-16 20:30:54 +02:00
2021-03-11 12:17:39 +01:00
2018-05-04 09:52:38 +02:00
2021-07-12 11:15:28 -05:00
2021-06-11 21:05:06 +02:00
2017-11-02 11:10:55 +01:00
2019-08-27 17:08:18 +05:30
2018-04-06 12:15:41 -07:00
2020-08-02 22:17:19 +02:00
2017-11-02 11:10:55 +01:00
2019-05-21 10:50:45 +02:00
2018-03-21 09:50:56 +01:00
2017-11-13 21:39:18 +01:00