diff options
author | Gustavo A. R. Silva | 2021-07-12 11:13:49 -0500 |
---|---|---|
committer | Gustavo A. R. Silva | 2021-07-12 11:15:28 -0500 |
commit | 1eb5f4a3ddd949af1abe947c02ad990c013dd620 (patch) | |
tree | dd4f78261cb5e3bc1b1f1bc845ff19a1582920c2 /drivers/hwmon/hwmon.c | |
parent | e8865537a68bb3032f449f5eb108fa8cd76ebb6d (diff) |
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>
Diffstat (limited to 'drivers/hwmon/hwmon.c')
0 files changed, 0 insertions, 0 deletions