llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* Re: [RFC PATCH 6/7] mm: memory: add mTHP support for wp
       [not found] <20250814113813.4533-7-vernon2gm@gmail.com>
@ 2025-08-15  6:26 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-08-15  6:26 UTC (permalink / raw)
  To: Vernon Yang; +Cc: llvm, oe-kbuild-all

Hi Vernon,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on akpm-mm/mm-everything]
[also build test ERROR on linus/master v6.17-rc1 next-20250815]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Vernon-Yang/mm-memory-replace-single-operation-with-multi-operation-in-wp/20250814-195529
base:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link:    https://lore.kernel.org/r/20250814113813.4533-7-vernon2gm%40gmail.com
patch subject: [RFC PATCH 6/7] mm: memory: add mTHP support for wp
config: arm-randconfig-002-20250815 (https://download.01.org/0day-ci/archive/20250815/202508151424.3vsVTwI0-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250815/202508151424.3vsVTwI0-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/202508151424.3vsVTwI0-lkp@intel.com/

All errors (new ones prefixed by >>):

>> mm/memory.c:3466:10: error: call to undeclared function 'copy_user_large_folio'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    3466 |                 return copy_user_large_folio(dst, src, offset, vmf->address, vma);
         |                        ^
>> mm/memory.c:3470:9: error: call to undeclared function 'copy_folio_from_user'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    3470 |         return copy_folio_from_user(dst, uaddr, 0);
         |                ^
   mm/memory.c:3470:9: note: did you mean 'copy_siginfo_from_user'?
   include/linux/signal.h:37:5: note: 'copy_siginfo_from_user' declared here
      37 | int copy_siginfo_from_user(kernel_siginfo_t *to, const siginfo_t __user *from);
         |     ^
   2 errors generated.


vim +/copy_user_large_folio +3466 mm/memory.c

  3457	
  3458	static inline int __wp_folio_copy_user(struct folio *dst, struct folio *src,
  3459					       unsigned int offset,
  3460					       struct vm_fault *vmf)
  3461	{
  3462		struct vm_area_struct *vma = vmf->vma;
  3463		void __user *uaddr;
  3464	
  3465		if (likely(src))
> 3466			return copy_user_large_folio(dst, src, offset, vmf->address, vma);
  3467	
  3468		uaddr = (void __user *)ALIGN_DOWN(vmf->address, folio_size(dst));
  3469	
> 3470		return copy_folio_from_user(dst, uaddr, 0);
  3471	}
  3472	

-- 
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:[~2025-08-15  6:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250814113813.4533-7-vernon2gm@gmail.com>
2025-08-15  6:26 ` [RFC PATCH 6/7] mm: memory: add mTHP support for wp 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;
as well as URLs for NNTP newsgroup(s).