[block:io_uring-bio-cache.2 3/6] fs/io_uring.c:10303:30: error: no member named 'bio_cache' in 'struct io_uring_task'

From: kernel test robot
Date: Tue Aug 03 2021 - 03:06:24 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git io_uring-bio-cache.2
head: ce33f04d02114ccbbc908909a519e1412727b77b
commit: 993ddb7b5c6d8073634af8b71f286754024eaa44 [3/6] io_uring: wire up bio allocation cache
config: x86_64-randconfig-a004-20210802 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 4f71f59bf3d9914188a11d0c41bedbb339d36ff5)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?id=993ddb7b5c6d8073634af8b71f286754024eaa44
git remote add block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
git fetch --no-tags block io_uring-bio-cache.2
git checkout 993ddb7b5c6d8073634af8b71f286754024eaa44
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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 errors (new ones prefixed by >>):

>> fs/io_uring.c:10303:30: error: no member named 'bio_cache' in 'struct io_uring_task'
return &current->io_uring->bio_cache;
~~~~~~~~~~~~~~~~~ ^
1 error generated.


vim +10303 fs/io_uring.c

10299
10300 struct bio_alloc_cache *io_uring_bio_cache(void)
10301 {
10302 if (current->io_uring)
10303 return &current->io_uring->bio_cache;
10304
10305 return NULL;
10306 }
10307

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip