Re: [PATCH -next v8 2/3] rust: gpu: Add GPU buddy allocator bindings
From: kernel test robot
Date: Tue Feb 10 2026 - 07:13:29 EST
Hi Joel,
kernel test robot noticed the following build errors:
[auto build test ERROR on next-20260209]
url: https://github.com/intel-lab-lkp/linux/commits/Joel-Fernandes/rust-clist-Add-support-to-interface-with-C-linked-lists/20260210-054655
base: next-20260209
patch link: https://lore.kernel.org/r/20260209214246.2783990-3-joelagnelf%40nvidia.com
patch subject: [PATCH -next v8 2/3] rust: gpu: Add GPU buddy allocator bindings
config: x86_64-buildonly-randconfig-001-20260210 (https://download.01.org/0day-ci/archive/20260210/202602102034.3i5kT0hT-lkp@xxxxxxxxx/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260210/202602102034.3i5kT0hT-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/202602102034.3i5kT0hT-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
In file included from rust/helpers/helpers.c:35:
>> rust/helpers/gpu.c:3:10: fatal error: 'linux/gpu_buddy.h' file not found
3 | #include <linux/gpu_buddy.h>
| ^~~~~~~~~~~~~~~~~~~
1 error generated.
make[3]: *** [rust/Makefile:640: rust/helpers/helpers.o] Error 1 shuffle=1268030489
>> rust/helpers/gpu.c:3:10: fatal error: 'linux/gpu_buddy.h' file not found
>> Unable to generate bindings: clang diagnosed error: rust/helpers/gpu.c:3:10: fatal error: 'linux/gpu_buddy.h' file not found
--
make[3]: *** [rust/Makefile:496: rust/bindings/bindings_helpers_generated.rs] Error 1 shuffle=1268030489
make[3]: *** Deleting file 'rust/bindings/bindings_helpers_generated.rs'
>> rust/bindings/bindings_helper.h:32:10: fatal error: 'linux/gpu_buddy.h' file not found
>> Unable to generate bindings: clang diagnosed error: rust/bindings/bindings_helper.h:32:10: fatal error: 'linux/gpu_buddy.h' file not found
vim +3 rust/helpers/gpu.c
2
> 3 #include <linux/gpu_buddy.h>
4
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki