From: kernel test robot <lkp@intel.com>
To: Vivek Kasireddy <vivek.kasireddy@intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: [linux-next:master 1549/2075] drivers/dma-buf/udmabuf.c:45:undefined reference to `vmf_insert_pfn'
Date: Tue, 28 May 2024 23:31:07 +0800 [thread overview]
Message-ID: <202405282308.UEzt6hqC-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 6dc544b66971c7f9909ff038b62149105272d26a
commit: f7254e043ff1cc9ff97b0de83bc23509c8be4b9c [1549/2075] udmabuf: use vmf_insert_pfn and VM_PFNMAP for handling mmap
config: sh-randconfig-r012-20230414 (https://download.01.org/0day-ci/archive/20240528/202405282308.UEzt6hqC-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240528/202405282308.UEzt6hqC-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405282308.UEzt6hqC-lkp@intel.com/
All errors (new ones prefixed by >>):
sh4-linux-ld: drivers/dma-buf/udmabuf.o: in function `udmabuf_vm_fault':
>> drivers/dma-buf/udmabuf.c:45:(.text+0x140): undefined reference to `vmf_insert_pfn'
vim +45 drivers/dma-buf/udmabuf.c
fbb0de795078190 Gerd Hoffmann 2018-08-27 32
300133d372b7b54 Souptick Joarder 2019-01-03 33 static vm_fault_t udmabuf_vm_fault(struct vm_fault *vmf)
fbb0de795078190 Gerd Hoffmann 2018-08-27 34 {
fbb0de795078190 Gerd Hoffmann 2018-08-27 35 struct vm_area_struct *vma = vmf->vma;
fbb0de795078190 Gerd Hoffmann 2018-08-27 36 struct udmabuf *ubuf = vma->vm_private_data;
05b252cccb2e5c3 Gerd Hoffmann 2022-06-20 37 pgoff_t pgoff = vmf->pgoff;
f7254e043ff1cc9 Vivek Kasireddy 2024-04-10 38 unsigned long pfn;
fbb0de795078190 Gerd Hoffmann 2018-08-27 39
05b252cccb2e5c3 Gerd Hoffmann 2022-06-20 40 if (pgoff >= ubuf->pagecount)
05b252cccb2e5c3 Gerd Hoffmann 2022-06-20 41 return VM_FAULT_SIGBUS;
f7254e043ff1cc9 Vivek Kasireddy 2024-04-10 42
f7254e043ff1cc9 Vivek Kasireddy 2024-04-10 43 pfn = page_to_pfn(ubuf->pages[pgoff]);
f7254e043ff1cc9 Vivek Kasireddy 2024-04-10 44 return vmf_insert_pfn(vma, vmf->address, pfn);
fbb0de795078190 Gerd Hoffmann 2018-08-27 @45 }
fbb0de795078190 Gerd Hoffmann 2018-08-27 46
:::::: The code at line 45 was first introduced by commit
:::::: fbb0de795078190a9834b3409e4b009cfb18a6d4 Add udmabuf misc device
:::::: TO: Gerd Hoffmann <kraxel@redhat.com>
:::::: CC: Gerd Hoffmann <kraxel@redhat.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-05-28 15:31 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=202405282308.UEzt6hqC-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=vivek.kasireddy@intel.com \
/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