public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* Re: [PATCH v2 1/2] kasan: Refactor pcpu kasan vmalloc unpoison
       [not found] <3907c330d802e5b86bfe003485220de972aaac18.1764685296.git.m.wieczorretman@pm.me>
@ 2025-12-03 11:14 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-03 11:14 UTC (permalink / raw)
  To: Maciej Wieczor-Retman; +Cc: llvm, oe-kbuild-all

Hi Maciej,

kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on v6.18]
[cannot apply to akpm-mm/mm-everything next-20251203]
[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/Maciej-Wieczor-Retman/kasan-Refactor-pcpu-kasan-vmalloc-unpoison/20251202-223111
base:   linus/master
patch link:    https://lore.kernel.org/r/3907c330d802e5b86bfe003485220de972aaac18.1764685296.git.m.wieczorretman%40pm.me
patch subject: [PATCH v2 1/2] kasan: Refactor pcpu kasan vmalloc unpoison
config: x86_64-randconfig-004-20251203 (https://download.01.org/0day-ci/archive/20251203/202512031933.IaXWTVb8-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251203/202512031933.IaXWTVb8-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/202512031933.IaXWTVb8-lkp@intel.com/

All errors (new ones prefixed by >>):

>> mm/kasan/common.c:598:66: error: too few arguments to function call, expected 4, have 3
     598 |                 vms[area]->addr = __kasan_unpoison_vmap_areas(addr, size, flags);
         |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~                  ^
   include/linux/kasan.h:617:7: note: '__kasan_unpoison_vmap_areas' declared here
     617 | void *__kasan_unpoison_vmap_areas(void *addr, unsigned long size,
         |       ^                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     618 |                                   kasan_vmalloc_flags_t flags, u8 tag);
         |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 error generated.


vim +598 mm/kasan/common.c

   586	
   587	#ifdef CONFIG_KASAN_VMALLOC
   588	void kasan_unpoison_vmap_areas(struct vm_struct **vms, int nr_vms,
   589				       kasan_vmalloc_flags_t flags)
   590	{
   591		unsigned long size;
   592		void *addr;
   593		int area;
   594	
   595		for (area = 0 ; area < nr_vms ; area++) {
   596			size = vms[area]->size;
   597			addr = vms[area]->addr;
 > 598			vms[area]->addr = __kasan_unpoison_vmap_areas(addr, size, flags);

-- 
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-12-03 11:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3907c330d802e5b86bfe003485220de972aaac18.1764685296.git.m.wieczorretman@pm.me>
2025-12-03 11:14 ` [PATCH v2 1/2] kasan: Refactor pcpu kasan vmalloc unpoison 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