tree:   https://git.kernel.org/pub/scm/linux/kernel/git/modules/linux.git 
ppavlu-module-include
head:   fcbfd3cbe0a054838436812cc0b664f71ba1d0a4
commit: 2021aa3988f7a166b2be26c84d10fc6d1cc3d913 [35/37] module: Move module 
information macros into their own header
config: x86_64-rhel-9.4-rust 
(https://download.01.org/0day-ci/archive/20260819/[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/20260819/[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[E0609]: no field `__bindgen_anon_1` on type `bindings::kernel_param`
   --> rust/kernel/module_param.rs:78:46
   |
   78 |         let container = unsafe { 
&*((*param).__bindgen_anon_1.arg.cast::<SetOnce<T>>()) };
   |                                              ^^^^^^^^^^^^^^^^ unknown field
--
>> error[E0560]: struct `bindings::kernel_param_ops` has no field named `flags`
   --> rust/kernel/module_param.rs:164:13
   |
   164 |             flags: 0,
   |             ^^^^^ `bindings::kernel_param_ops` does not have this field
   ...
   172 | make_param_ops!(PARAM_OPS_I8, i8);
   | --------------------------------- in this macro invocation
   |
   = note: all struct fields are already assigned
   = note: this error originates in the macro `make_param_ops` (in Nightly 
builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `bindings::kernel_param_ops` has no field named `set`
   --> rust/kernel/module_param.rs:165:13
   |
   165 |             set: Some(set_param::<$ty>),
   |             ^^^ `bindings::kernel_param_ops` does not have this field
   ...
   174 | make_param_ops!(PARAM_OPS_I16, i16);
   | ----------------------------------- in this macro invocation
   |
   = note: all struct fields are already assigned
   = note: this error originates in the macro `make_param_ops` (in Nightly 
builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `bindings::kernel_param_ops` has no field named `get`
   --> rust/kernel/module_param.rs:166:13
   |
   166 |             get: None,
   |             ^^^ `bindings::kernel_param_ops` does not have this field
   ...
   174 | make_param_ops!(PARAM_OPS_I16, i16);
   | ----------------------------------- in this macro invocation
   |
   = note: all struct fields are already assigned
   = note: this error originates in the macro `make_param_ops` (in Nightly 
builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `bindings::kernel_param_ops` has no field named `free`
   --> rust/kernel/module_param.rs:167:13
   |
   167 |             free: None,
   |             ^^^^ `bindings::kernel_param_ops` does not have this field
   ...
   174 | make_param_ops!(PARAM_OPS_I16, i16);
   | ----------------------------------- in this macro invocation
   |
   = note: all struct fields are already assigned
   = note: this error originates in the macro `make_param_ops` (in Nightly 
builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `bindings::kernel_param_ops` has no field named `flags`
   --> rust/kernel/module_param.rs:164:13
   |
   164 |             flags: 0,
   |             ^^^^^ `bindings::kernel_param_ops` does not have this field
   ...
   175 | make_param_ops!(PARAM_OPS_U16, u16);
   | ----------------------------------- in this macro invocation
   |
   = note: all struct fields are already assigned
   = note: this error originates in the macro `make_param_ops` (in Nightly 
builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `bindings::kernel_param_ops` has no field named `set`
   --> rust/kernel/module_param.rs:165:13
   |
   165 |             set: Some(set_param::<$ty>),
   |             ^^^ `bindings::kernel_param_ops` does not have this field
   ...
   175 | make_param_ops!(PARAM_OPS_U16, u16);
   | ----------------------------------- in this macro invocation
   |
   = note: all struct fields are already assigned
   = note: this error originates in the macro `make_param_ops` (in Nightly 
builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `bindings::kernel_param_ops` has no field named `get`
   --> rust/kernel/module_param.rs:166:13
   |
   166 |             get: None,
   |             ^^^ `bindings::kernel_param_ops` does not have this field
   ...
   175 | make_param_ops!(PARAM_OPS_U16, u16);
   | ----------------------------------- in this macro invocation
   |
   = note: all struct fields are already assigned
   = note: this error originates in the macro `make_param_ops` (in Nightly 
builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `bindings::kernel_param_ops` has no field named `free`
   --> rust/kernel/module_param.rs:167:13
   |
   167 |             free: None,
   |             ^^^^ `bindings::kernel_param_ops` does not have this field
   ...
   175 | make_param_ops!(PARAM_OPS_U16, u16);
   | ----------------------------------- in this macro invocation
   |
   = note: all struct fields are already assigned
   = note: this error originates in the macro `make_param_ops` (in Nightly 
builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `bindings::kernel_param_ops` has no field named `flags`
   --> rust/kernel/module_param.rs:164:13
   |
   164 |             flags: 0,
   |             ^^^^^ `bindings::kernel_param_ops` does not have this field
   ...
   176 | make_param_ops!(PARAM_OPS_I32, i32);
   | ----------------------------------- in this macro invocation
   |
   = note: all struct fields are already assigned
   = note: this error originates in the macro `make_param_ops` (in Nightly 
builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `bindings::kernel_param_ops` has no field named `set`
   --> rust/kernel/module_param.rs:165:13
   |
   165 |             set: Some(set_param::<$ty>),
   |             ^^^ `bindings::kernel_param_ops` does not have this field
   ...
   176 | make_param_ops!(PARAM_OPS_I32, i32);
   | ----------------------------------- in this macro invocation
   |
   = note: all struct fields are already assigned
   = note: this error originates in the macro `make_param_ops` (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