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

From: kernel test robot
Date: Tue Aug 03 2021 - 03:47:16 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: microblaze-randconfig-r011-20210803 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 10.3.0
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=gcc-10.3.0 make.cross O=build_dir ARCH=microblaze 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: In function 'io_uring_bio_cache':
>> fs/io_uring.c:10303:28: error: 'struct io_uring_task' has no member named 'bio_cache'
10303 | return &current->io_uring->bio_cache;
| ^~


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