rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Vitaly Wool <vitaly.wool@konsulko.se>, linux-mm@kvack.org
Cc: oe-kbuild-all@lists.linux.dev, akpm@linux-foundation.org,
	linux-kernel@vger.kernel.org, Uladzislau Rezki <urezki@gmail.com>,
	Danilo Krummrich <dakr@kernel.org>,
	Alice Ryhl <aliceryhl@google.com>,
	rust-for-linux@vger.kernel.org,
	Vitaly Wool <vitaly.wool@konsulko.se>
Subject: Re: [PATCH v2 1/2] mm/vmalloc: allow to set node and align in vrealloc
Date: Wed, 25 Jun 2025 09:03:32 +0800	[thread overview]
Message-ID: <202506250832.Ixp27fE5-lkp@intel.com> (raw)
In-Reply-To: <20250624123859.3258172-1-vitaly.wool@konsulko.se>

Hi Vitaly,

kernel test robot noticed the following build errors:

[auto build test ERROR on akpm-mm/mm-everything]
[also build test ERROR on rust/alloc-next rust/rust-next linus/master v6.16-rc3 next-20250624]
[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/Vitaly-Wool/mm-vmalloc-allow-to-set-node-and-align-in-vrealloc/20250624-204140
base:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link:    https://lore.kernel.org/r/20250624123859.3258172-1-vitaly.wool%40konsulko.se
patch subject: [PATCH v2 1/2] mm/vmalloc: allow to set node and align in vrealloc
config: m68k-allnoconfig (https://download.01.org/0day-ci/archive/20250625/202506250832.Ixp27fE5-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250625/202506250832.Ixp27fE5-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/202506250832.Ixp27fE5-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from mm/nommu.c:28:
>> include/linux/vmalloc.h:202:68: error: expected declaration specifiers or '...' before numeric constant
     202 | #define vrealloc_noprof(p, s, f)        vrealloc_node_noprof(p, s, 1, f, NUMA_NO_NODE)
         |                                                                    ^
   mm/nommu.c:122:7: note: in expansion of macro 'vrealloc_noprof'
     122 | void *vrealloc_noprof(const void *p, size_t size, gfp_t flags)
         |       ^~~~~~~~~~~~~~~
   In file included from include/linux/nodemask.h:93,
                    from include/linux/numa.h:6,
                    from include/linux/cpumask.h:17,
                    from include/linux/smp.h:13,
                    from include/linux/lockdep.h:14,
                    from include/linux/spinlock.h:63,
                    from include/linux/mmzone.h:8,
                    from include/linux/gfp.h:7,
                    from include/linux/mm.h:7,
                    from mm/nommu.c:20:
>> include/linux/nodemask_types.h:15:25: error: expected declaration specifiers or '...' before '(' token
      15 | #define NUMA_NO_NODE    (-1)
         |                         ^
   include/linux/vmalloc.h:202:74: note: in expansion of macro 'NUMA_NO_NODE'
     202 | #define vrealloc_noprof(p, s, f)        vrealloc_node_noprof(p, s, 1, f, NUMA_NO_NODE)
         |                                                                          ^~~~~~~~~~~~
   mm/nommu.c:122:7: note: in expansion of macro 'vrealloc_noprof'
     122 | void *vrealloc_noprof(const void *p, size_t size, gfp_t flags)
         |       ^~~~~~~~~~~~~~~


vim +202 include/linux/vmalloc.h

   199	
   200	void *__must_check vrealloc_node_noprof(const void *p, size_t size,
   201			unsigned long align, gfp_t flags, int nid) __realloc_size(2);
 > 202	#define vrealloc_noprof(p, s, f)	vrealloc_node_noprof(p, s, 1, f, NUMA_NO_NODE)
   203	#define vrealloc_node(...)		alloc_hooks(vrealloc_node_noprof(__VA_ARGS__))
   204	#define vrealloc(...)			alloc_hooks(vrealloc_noprof(__VA_ARGS__))
   205	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2025-06-25  1:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-24 12:37 [PATCH v2 0/2] support large align and nid in Rust allocators Vitaly Wool
2025-06-24 12:38 ` [PATCH v2 1/2] mm/vmalloc: allow to set node and align in vrealloc Vitaly Wool
2025-06-25  1:03   ` kernel test robot [this message]
2025-06-24 12:39 ` [PATCH v2 2/2] rust: support large align and NUMA ids in allocs Vitaly Wool
2025-06-25  6:28   ` kernel test robot

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=202506250832.Ixp27fE5-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=aliceryhl@google.com \
    --cc=dakr@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=urezki@gmail.com \
    --cc=vitaly.wool@konsulko.se \
    /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;
as well as URLs for NNTP newsgroup(s).