diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-12 11:03:35 -0500 |
---|---|---|
committer | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-12 11:03:35 -0500 |
commit | 1adee589cd6da2ead7f1b5dd82419eac59a2e2b0 (patch) | |
tree | 0620256561182c23b82f599431226e5ad33db5cd /fs/fcntl.c | |
parent | 81eb1d17115fba5ea67a4939a136888a7ec05c32 (diff) |
kernel: debug: Fix unreachable code in gdb_serial_stub()
Fix the following warning:
kernel/debug/gdbstub.c:1049:4: 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 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions