* [kbusch:dma-prereg-v3-wip 5/6] io_uring/rsrc.c:155: undefined reference to `io_dma_unmap'
@ 2022-07-22 7:49 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-22 7:49 UTC (permalink / raw)
To: Keith Busch; +Cc: kbuild-all, linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-22 7:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-22 7:49 [kbusch:dma-prereg-v3-wip 5/6] io_uring/rsrc.c:155: undefined reference to `io_dma_unmap' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®