diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-12 18:09:13 +0200 |
---|---|---|
committer | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-12 18:09:13 +0200 |
commit | e8865537a68bb3032f449f5eb108fa8cd76ebb6d (patch) | |
tree | b8df4793caad43c8faa6badb5d0d0083118fd763 /ipc/namespace.c | |
parent | kernel: debug: Fix unreachable code in gdb_serial_stub() (diff) | |
download | linux-e8865537a68bb3032f449f5eb108fa8cd76ebb6d.tar.xz linux-e8865537a68bb3032f449f5eb108fa8cd76ebb6d.zip |
fcntl: Fix unreachable code in do_fcntl()
Fix the following warning:
fs/fcntl.c:373: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 'ipc/namespace.c')
0 files changed, 0 insertions, 0 deletions