Messages in this thread | | | Date | Fri, 22 Jul 2022 15:49:08 +0800 | From | kernel test robot <> | Subject | [kbusch:dma-prereg-v3-wip 5/6] io_uring/rsrc.c:155: undefined reference to `io_dma_unmap' |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kbusch/linux.git dma-prereg-v3-wip head: 4625fa7adf745334c0a2eb635121d587df797b29 commit: 1390adeaee356151aeb13383e6ee1ad1c5798816 [5/6] io_uring: add support for dma pre-mapping config: x86_64-randconfig-m001 (https://download.01.org/0day-ci/archive/20220722/202207221539.1JrGZRYG-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-3) 11.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/kbusch/linux.git/commit/?id=1390adeaee356151aeb13383e6ee1ad1c5798816 git remote add kbusch https://git.kernel.org/pub/scm/linux/kernel/git/kbusch/linux.git git fetch --no-tags kbusch dma-prereg-v3-wip git checkout 1390adeaee356151aeb13383e6ee1ad1c5798816 # 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 where applicable Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
ld: io_uring/rsrc.o: in function `io_buffer_unmap': >> io_uring/rsrc.c:155: undefined reference to `io_dma_unmap'
vim +155 io_uring/rsrc.c
144 145 static void io_buffer_unmap(struct io_ring_ctx *ctx, struct io_mapped_ubuf **slot) 146 { 147 struct io_mapped_ubuf *imu = *slot; 148 unsigned int i; 149 150 if (imu != ctx->dummy_ubuf) { 151 for (i = 0; i < imu->nr_bvecs; i++) 152 unpin_user_page(imu->bvec[i].bv_page); 153 if (imu->acct_pages) 154 io_unaccount_mem(ctx, imu->acct_pages); > 155 io_dma_unmap(imu); 156 kvfree(imu); 157 } 158 *slot = NULL; 159 } 160
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |