From: kernel test robot <lkp@intel.com>
To: Keith Busch <kbusch@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [kbusch:dma-prereg-v3-wip 5/6] io_uring/rsrc.c:155: undefined reference to `io_dma_unmap'
Date: Fri, 22 Jul 2022 15:49:08 +0800 [thread overview]
Message-ID: <202207221539.1JrGZRYG-lkp@intel.com> (raw)
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
reply other threads:[~2022-07-22 7:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202207221539.1JrGZRYG-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=kbusch@kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®