aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2021-07-12 11:13:49 -0500
committerGustavo A. R. Silva <gustavoars@kernel.org>2021-07-12 11:15:28 -0500
commit1eb5f4a3ddd949af1abe947c02ad990c013dd620 (patch)
treedd4f78261cb5e3bc1b1f1bc845ff19a1582920c2 /drivers/mtd/maps
parentfcntl: Fix unreachable code in do_fcntl() (diff)
downloadlinux-dev-1eb5f4a3ddd949af1abe947c02ad990c013dd620.tar.xz
linux-dev-1eb5f4a3ddd949af1abe947c02ad990c013dd620.zip
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/mtd/maps')
0 files changed, 0 insertions, 0 deletions