Re: [PATCH v2 2/2] rust: support large align and NUMA ids in allocs

From: kernel test robot
Date: Wed Jun 25 2025 - 02:29:18 EST


Hi Vitaly,

kernel test robot noticed the following build warnings:

[auto build test WARNING on akpm-mm/mm-everything]
[also build test WARNING 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/20250624123922.3258215-1-vitaly.wool%40konsulko.se
patch subject: [PATCH v2 2/2] rust: support large align and NUMA ids in allocs
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20250625/202506251416.O5iI9bmq-lkp@xxxxxxxxx/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250625/202506251416.O5iI9bmq-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506251416.O5iI9bmq-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> warning: unused import: `crate::pr_warn`
--> rust/kernel/alloc/allocator.rs:18:5
|
18 | use crate::pr_warn;
| ^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default

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