[linux-stable-rc:linux-5.17.y 1443/2373] fs/io_uring.o: warning: objtool: io_req_prep()+0x4f: unreachable instruction

From: kernel test robot
Date: Tue May 17 2022 - 06:00:32 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.17.y
head: e1382731ef4e5e1634896596ebe74e48b9ed2b73
commit: 0e76afd78907c78bb7f5c0cce17a4afecd2b126f [1443/2373] io_uring: defer splice/tee file validity check until command issue
config: x86_64-randconfig-c022-20220516 (https://download.01.org/0day-ci/archive/20220517/202205171702.ifM3QFjG-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=0e76afd78907c78bb7f5c0cce17a4afecd2b126f
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.17.y
git checkout 0e76afd78907c78bb7f5c0cce17a4afecd2b126f
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

fs/io_uring.c: In function '__io_submit_flush_completions':
fs/io_uring.c:2515:40: warning: variable 'prev' set but not used [-Wunused-but-set-variable]
2515 | struct io_wq_work_node *node, *prev;
| ^~~~
>> fs/io_uring.o: warning: objtool: io_req_prep()+0x4f: unreachable instruction

--
0-DAY CI Kernel Test Service
https://01.org/lkp