Re: [PATCH v2 11/11] rust: xarray: add preload API

From: kernel test robot

Date: Sat Feb 07 2026 - 00:04:41 EST


Hi Andreas,

kernel test robot noticed the following build errors:

[auto build test ERROR on 18f7fcd5e69a04df57b563360b88be72471d6b62]

url: https://github.com/intel-lab-lkp/linux/commits/Andreas-Hindborg/rust-xarray-minor-formatting-fixes/20260207-051500
base: 18f7fcd5e69a04df57b563360b88be72471d6b62
patch link: https://lore.kernel.org/r/20260206-xarray-entry-send-v2-11-91c41673fd30%40kernel.org
patch subject: [PATCH v2 11/11] rust: xarray: add preload API
config: arm64-randconfig-001-20260207 (https://download.01.org/0day-ci/archive/20260207/202602071349.6yvINDvm-lkp@xxxxxxxxx/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260207/202602071349.6yvINDvm-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/202602071349.6yvINDvm-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> error[E0432]: unresolved import `kernel::mm::sheaf`
--> rust/kernel/xarray.rs:33:9
|
33 | mm::sheaf::{
| ^^^^^ could not find `sheaf` in `mm`
|
note: found an item that was configured out
--> rust/kernel/mm.rs:22:9
|
22 | pub mod sheaf;
| ^^^^^
note: the item is gated here
--> rust/kernel/mm.rs:21:1
|
21 | #[cfg(not(any(CONFIG_SLUB_TINY, CONFIG_SLUB_DEBUG)))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--
>> error[E0433]: failed to resolve: could not find `sheaf` in `mm`
--> rust/kernel/xarray.rs:75:18
|
75 | impl kernel::mm::sheaf::KMemCacheInit<XArrayNode> for XArrayNode {
| ^^^^^ could not find `sheaf` in `mm`
|
note: found an item that was configured out
--> rust/kernel/mm.rs:22:9
|
22 | pub mod sheaf;
| ^^^^^
note: the item is gated here
--> rust/kernel/mm.rs:21:1
|
21 | #[cfg(not(any(CONFIG_SLUB_TINY, CONFIG_SLUB_DEBUG)))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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