[block:io_uring-fops.v7 6/9] fops.c:undefined reference to `blk_async_cmd'
From: kernel test robot
Date: Wed Sep 08 2021 - 18:13:51 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git io_uring-fops.v7
head: ac5c317c6de0ac90cefd2ba455107bf89eb5ae3c
commit: ca82263d596754e398cc2ad585c56af6e98fa808 [6/9] block: wire up support for file_operations->uring_cmd()
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?id=ca82263d596754e398cc2ad585c56af6e98fa808
git remote add block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
git fetch --no-tags block io_uring-fops.v7
git checkout ca82263d596754e398cc2ad585c56af6e98fa808
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=um SUBARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All error/warnings (new ones prefixed by >>):
/usr/bin/ld: block/fops.o: in function `blkdev_async_cmd':
>> fops.c:(.text+0x1b2): undefined reference to `blk_async_cmd'
collect2: error: ld returned 1 exit status
--
>> block/blk-mq.c:4004:5: warning: no previous prototype for 'blk_uring_cmd' [-Wmissing-prototypes]
4004 | int blk_uring_cmd(struct block_device *bdev, struct io_uring_cmd *cmd,
| ^~~~~~~~~~~~~
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip