Linux Modules
 help / color / mirror / Atom feed
* [modules:ppavlu-module-include 35/37] error[E0609]: no field `__bindgen_anon_1` on type `bindings::kernel_param`
@ 2026-08-19 16:11 kernel test robot
  2026-08-20  7:36 ` Petr Pavlu
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-08-19 16:11 UTC (permalink / raw)
  To: Petr Pavlu
  Cc: oe-kbuild-all, Luis Chamberlain, Sami Tolvanen, Daniel Gomez,
	linux-modules

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/202608191847.ew1wQKaQ-lkp@intel.com/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/202608191847.ew1wQKaQ-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608191847.ew1wQKaQ-lkp@intel.com/

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-20  7:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-19 16:11 [modules:ppavlu-module-include 35/37] error[E0609]: no field `__bindgen_anon_1` on type `bindings::kernel_param` kernel test robot
2026-08-20  7:36 ` Petr Pavlu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox