public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Maciej Wieczor-Retman <m.wieczorretman@pm.me>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v2 1/2] kasan: Refactor pcpu kasan vmalloc unpoison
Date: Wed, 3 Dec 2025 19:14:07 +0800	[thread overview]
Message-ID: <202512031933.IaXWTVb8-lkp@intel.com> (raw)
In-Reply-To: <3907c330d802e5b86bfe003485220de972aaac18.1764685296.git.m.wieczorretman@pm.me>

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

           reply	other threads:[~2025-12-03 11:14 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <3907c330d802e5b86bfe003485220de972aaac18.1764685296.git.m.wieczorretman@pm.me>]

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=202512031933.IaXWTVb8-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=m.wieczorretman@pm.me \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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