tree:
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
for-5.12/io_uring
head: c37375b314a577b3385551b646aed90faa958186
commit: 93642ef8843445f72a1e6b0c68914746c7aa5b9c [113/118] io_uring: split sqe-prep and
async setup
config: ia64-randconfig-s031-20210219 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-229-g60c1f270-dirty
#
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/com...
git remote add block
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
git fetch --no-tags block for-5.12/io_uring
git checkout 93642ef8843445f72a1e6b0c68914746c7aa5b9c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1
CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
fs/io_uring.c: In function 'io_req_prep_async':
> fs/io_uring.c:6153:10: error: implicit declaration of function
'io_sendmsg_prep_async'; did you mean 'io_req_prep_async'?
[-Werror=implicit-function-declaration]
6153 | return
io_sendmsg_prep_async(req);
| ^~~~~~~~~~~~~~~~~~~~~
| io_req_prep_async
> fs/io_uring.c:6156:10: error: implicit declaration of function
'io_recvmsg_prep_async'; did you mean 'io_req_prep_async'?
[-Werror=implicit-function-declaration]
6156 | return
io_recvmsg_prep_async(req);
| ^~~~~~~~~~~~~~~~~~~~~
| io_req_prep_async
> fs/io_uring.c:6158:10: error: implicit declaration of function
'io_connect_prep_async'; did you mean 'io_req_prep_async'?
[-Werror=implicit-function-declaration]
6158 | return
io_connect_prep_async(req);
| ^~~~~~~~~~~~~~~~~~~~~
| io_req_prep_async
cc1: some warnings being treated as errors
vim +6153 fs/io_uring.c
6139
6140 static int io_req_prep_async(struct io_kiocb *req)
6141 {
6142 switch (req->opcode) {
6143 case IORING_OP_READV:
6144 case IORING_OP_READ_FIXED:
6145 case IORING_OP_READ:
6146 return io_rw_prep_async(req, READ);
6147 case IORING_OP_WRITEV:
6148 case IORING_OP_WRITE_FIXED:
6149 case IORING_OP_WRITE:
6150 return io_rw_prep_async(req, WRITE);
6151 case IORING_OP_SENDMSG:
6152 case IORING_OP_SEND:
6153 return io_sendmsg_prep_async(req);
6154 case
IORING_OP_RECVMSG:
6155 case IORING_OP_RECV:
6156 return io_recvmsg_prep_async(req);
6157 case
IORING_OP_CONNECT:
6158 return io_connect_prep_async(req);
6159 }
6160 return 0;
6161 }
6162
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org