Hi Aaron,

kernel test robot noticed the following build errors:

[auto build test ERROR on rust/rust-next]
[also build test ERROR on soc/for-next linus/master v7.3-rc2 next-20260908]
[cannot apply to arnd-asm-generic/master]
[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/Aaron-Tomlin/module-Extend-module_blacklist-parameter-to-built-in-modules/20260903-145556
base:   https://github.com/Rust-for-Linux/linux rust-next
patch link:    
https://lore.kernel.org/r/20260903185557.183224-3-atomlin%40atomlin.com
patch subject: [PATCH v10 2/2] module: Rename module_blacklist to 
module_denylist
config: x86_64-rhel-9.4-rust 
(https://download.01.org/0day-ci/archive/20260909/[email protected]/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project 
ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260909/[email protected]/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 <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> error[E0425]: cannot find type `initcall_modname` in crate 
>> `::kernel::bindings`
   --> rust/doctests_kernel_generated.rs:7459:1
   |
   7459 | / module! {
   7460 | |    type: MyModule,
   7461 | |    name: "module_firmware_test",
   7462 | |    authors: ["Rust for Linux"],
   7463 | |    description: "module_firmware! test module",
   7464 | |    license: "GPL",
   7465 | | }
   | |_^ not found in `::kernel::bindings`
   |
   = note: this error originates in the macro `module` (in Nightly builds, run 
with -Z macro-backtrace for more info)
--
>> error[E0422]: cannot find struct, variant or union type `initcall_modname` 
>> in crate `::kernel::bindings`
   --> rust/doctests_kernel_generated.rs:7459:1
   |
   7459 | / module! {
   7460 | |    type: MyModule,
   7461 | |    name: "module_firmware_test",
   7462 | |    authors: ["Rust for Linux"],
   7463 | |    description: "module_firmware! test module",
   7464 | |    license: "GPL",
   7465 | | }
   | |_^ not found in `::kernel::bindings`
   |
   = note: this error originates in the macro `module` (in Nightly builds, run 
with -Z macro-backtrace for more info)
--
>> error[E0425]: cannot find type `initcall_modname` in crate 
>> `::kernel::bindings`
   --> rust/doctests_kernel_generated.rs:12739:1
   |
   12739 | / kernel::module_phy_driver! {
   12740 | |     drivers: [PhySample],
   12741 | |     device_table: [
   12742 | |         DeviceId::new_with_driver::<PhySample>()
   ...     |
   12747 | |     license: "GPL",
   12748 | | }
   | |_^ not found in `::kernel::bindings`
   |
   = note: this error originates in the macro `$crate::prelude::module` which 
comes from the expansion of the macro `kernel::module_phy_driver` (in Nightly 
builds, run with -Z macro-backtrace for more info)
--
>> error[E0422]: cannot find struct, variant or union type `initcall_modname` 
>> in crate `::kernel::bindings`
   --> rust/doctests_kernel_generated.rs:12739:1
   |
   12739 | / kernel::module_phy_driver! {
   12740 | |     drivers: [PhySample],
   12741 | |     device_table: [
   12742 | |         DeviceId::new_with_driver::<PhySample>()
   ...     |
   12747 | |     license: "GPL",
   12748 | | }
   | |_^ not found in `::kernel::bindings`
   |
   = note: this error originates in the macro `$crate::prelude::module` which 
comes from the expansion of the macro `kernel::module_phy_driver` (in Nightly 
builds, run with -Z macro-backtrace for more info)
--
>> error[E0425]: cannot find type `initcall_modname` in crate 
>> `::kernel::bindings`
   --> samples/rust/rust_minimal.rs:7:1
   |
   7 | / module! {
   8 | |     type: RustMinimal,
   9 | |     name: "rust_minimal",
   10 | |     authors: ["Rust for Linux Contributors"],
   ...  |
   22 | |     },
   23 | | }
   | |_^ not found in `::kernel::bindings`
   |
   = note: this error originates in the macro `module` (in Nightly builds, run 
with -Z macro-backtrace for more info)
--
>> error[E0422]: cannot find struct, variant or union type `initcall_modname` 
>> in crate `::kernel::bindings`
   --> samples/rust/rust_minimal.rs:7:1
   |
   7 | / module! {
   8 | |     type: RustMinimal,
   9 | |     name: "rust_minimal",
   10 | |     authors: ["Rust for Linux Contributors"],
   ...  |
   22 | |     },
   23 | | }
   | |_^ not found in `::kernel::bindings`
   |
   = note: this error originates in the macro `module` (in Nightly builds, run 
with -Z macro-backtrace for more info)
--
>> error[E0425]: cannot find type `initcall_modname` in crate 
>> `::kernel::bindings`
   --> samples/rust/rust_misc_device.rs:136:1
   |
   136 | / module! {
   137 | |     type: RustMiscDeviceModule,
   138 | |     name: "rust_misc_device",
   139 | |     authors: ["Lee Jones"],
   140 | |     description: "Rust misc device sample",
   141 | |     license: "GPL",
   142 | | }
   | |_^ not found in `::kernel::bindings`
   |
   = note: this error originates in the macro `module` (in Nightly builds, run 
with -Z macro-backtrace for more info)
--
>> error[E0422]: cannot find struct, variant or union type `initcall_modname` 
>> in crate `::kernel::bindings`
   --> samples/rust/rust_misc_device.rs:136:1
   |
   136 | / module! {
   137 | |     type: RustMiscDeviceModule,
   138 | |     name: "rust_misc_device",
   139 | |     authors: ["Lee Jones"],
   140 | |     description: "Rust misc device sample",
   141 | |     license: "GPL",
   142 | | }
   | |_^ not found in `::kernel::bindings`
   |
   = note: this error originates in the macro `module` (in Nightly builds, run 
with -Z macro-backtrace for more info)
--
>> error[E0425]: cannot find type `initcall_modname` in crate 
>> `::kernel::bindings`
   --> samples/rust/rust_print_main.rs:8:1
   |
   8 | / module! {
   9 | |     type: RustPrint,
   10 | |     name: "rust_print",
   11 | |     authors: ["Rust for Linux Contributors"],
   12 | |     description: "Rust printing macros sample",
   13 | |     license: "GPL",
   14 | | }
   | |_^ not found in `::kernel::bindings`
   |
   = note: this error originates in the macro `module` (in Nightly builds, run 
with -Z macro-backtrace for more info)
--
>> error[E0422]: cannot find struct, variant or union type `initcall_modname` 
>> in crate `::kernel::bindings`
   --> samples/rust/rust_print_main.rs:8:1
   |
   8 | / module! {
   9 | |     type: RustPrint,
   10 | |     name: "rust_print",
   11 | |     authors: ["Rust for Linux Contributors"],
   12 | |     description: "Rust printing macros sample",
   13 | |     license: "GPL",
   14 | | }
   | |_^ not found in `::kernel::bindings`
   |
   = note: this error originates in the macro `module` (in Nightly builds, run 
with -Z macro-backtrace for more info)
--
>> error[E0425]: cannot find type `initcall_modname` in crate 
>> `::kernel::bindings`
   --> samples/rust/rust_debugfs.rs:58:1
   |
   58 | / kernel::module_platform_driver! {
   59 | |     type: RustDebugFs,
   60 | |     name: "rust_debugfs",
   61 | |     authors: ["Matthew Maurer"],
   62 | |     description: "Rust DebugFS usage sample",
   63 | |     license: "GPL",
   64 | | }
   | |_^ not found in `::kernel::bindings`
   |
   = note: this error originates in the macro `$crate::prelude::module` which 
comes from the expansion of the macro `kernel::module_platform_driver` (in 
Nightly builds, run with -Z macro-backtrace for more info)
..

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

Reply via email to