All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Vernon Yang <vernon2gm@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH 6/7] mm: memory: add mTHP support for wp
Date: Fri, 15 Aug 2025 14:26:41 +0800	[thread overview]
Message-ID: <202508151424.3vsVTwI0-lkp@intel.com> (raw)
In-Reply-To: <20250814113813.4533-7-vernon2gm@gmail.com>

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

  parent reply	other threads:[~2025-08-15  6:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-14 11:38 [RFC PATCH 0/7] add mTHP support for wp Vernon Yang
2025-08-14 11:38 ` [RFC PATCH 1/7] mm: memory: replace single-operation with multi-operation in wp Vernon Yang
2025-08-14 11:38 ` [RFC PATCH 2/7] mm: memory: add ptep_clear_flush_range function Vernon Yang
2025-08-15  5:33   ` kernel test robot
2025-08-14 11:38 ` [RFC PATCH 3/7] mm: memory: add kmsan_copy_pages_meta function Vernon Yang
2025-08-14 11:38 ` [RFC PATCH 4/7] mm: memory: add offset to start copy for copy_user_gigantic_page Vernon Yang
2025-08-14 11:38 ` [RFC PATCH 5/7] mm: memory: improve wp_page_copy readability Vernon Yang
2025-08-14 11:38 ` [RFC PATCH 6/7] mm: memory: add mTHP support for wp Vernon Yang
2025-08-14 11:58   ` David Hildenbrand
2025-08-15 15:20     ` Vernon Yang
2025-08-16  6:40       ` David Hildenbrand
2025-08-14 12:57   ` David Hildenbrand
2025-08-15 15:30     ` Vernon Yang
2025-08-15  6:26   ` kernel test robot [this message]
2025-08-14 11:38 ` [RFC PATCH 7/7] selftests: mm: support wp mTHP collapse testing Vernon Yang

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=202508151424.3vsVTwI0-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=vernon2gm@gmail.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 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.