* [rppt:uffd+guestmemfd/v1 12/15] mm/memory.c:5340:28: error: 'const struct vm_operations_struct' has no member named 'uffd_ops'
@ 2026-02-23 16:22 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-02-23 16:22 UTC (permalink / raw)
To: Peter Xu; +Cc: oe-kbuild-all, Mike Rapoport
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git uffd+guestmemfd/v1
head: ea5af993d28d129d273453041a5ad6b3a1a9e31a
commit: 40ced64186624690248a72f77202a245eb1717e3 [12/15] mm: generalize handling of userfaults in __do_fault()
config: nios2-allnoconfig (https://download.01.org/0day-ci/archive/20260224/202602240004.Sop2OCIr-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260224/202602240004.Sop2OCIr-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/202602240004.Sop2OCIr-lkp@intel.com/
All errors (new ones prefixed by >>):
mm/memory.c: In function '__do_userfault':
>> mm/memory.c:5340:28: error: 'const struct vm_operations_struct' has no member named 'uffd_ops'
5340 | folio = vma->vm_ops->uffd_ops->get_folio_noalloc(inode, vmf->pgoff);
| ^~
vim +5340 mm/memory.c
5330
5331 static vm_fault_t __do_userfault(struct vm_fault *vmf)
5332 {
5333 struct vm_area_struct *vma = vmf->vma;
5334 struct inode *inode = file_inode(vma->vm_file);
5335 struct folio *folio;
5336
5337 if (!(userfaultfd_missing(vma) || userfaultfd_minor(vma)))
5338 return 0;
5339
> 5340 folio = vma->vm_ops->uffd_ops->get_folio_noalloc(inode, vmf->pgoff);
5341 if (!IS_ERR_OR_NULL(folio)) {
5342 /*
5343 * TODO: provide a flag for get_folio_noalloc() to avoid
5344 * locking (or even the extra reference?)
5345 */
5346 folio_unlock(folio);
5347 folio_put(folio);
5348 if (userfaultfd_minor(vma))
5349 return handle_userfault(vmf, VM_UFFD_MINOR);
5350 } else {
5351 if (userfaultfd_missing(vma))
5352 return handle_userfault(vmf, VM_UFFD_MISSING);
5353 }
5354
5355 return 0;
5356 }
5357
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-02-23 16:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-23 16:22 [rppt:uffd+guestmemfd/v1 12/15] mm/memory.c:5340:28: error: 'const struct vm_operations_struct' has no member named 'uffd_ops' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.