* [linux-next:master 9315/10599] error[E0609]: no field `id_table` on type `i2c_driver`
@ 2025-11-20 23:09 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-11-20 23:09 UTC (permalink / raw)
To: Igor Korotin; +Cc: llvm, oe-kbuild-all, Danilo Krummrich
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 88cbd8ac379cf5ce68b7efcfd4d1484a6871ee0b
commit: 57c5bd9aee944b0f5c2ab314e10a86fae51f7bf2 [9315/10599] rust: i2c: add basic I2C device and driver abstractions
config: um-randconfig-001-20251121 (https://download.01.org/0day-ci/archive/20251121/202511210704.hwwiqDll-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9e9fe08b16ea2c4d9867fb4974edf2a3776d6ece)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251121/202511210704.hwwiqDll-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/202511210704.hwwiqDll-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0609]: no field `driver` on type `i2c_driver`
--> rust/kernel/i2c.rs:123:27
|
123 | (*idrv.get()).driver.name = name.as_char_ptr();
| ^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `probe` on type `i2c_driver`
--> rust/kernel/i2c.rs:124:27
|
124 | (*idrv.get()).probe = Some(Self::probe_callback);
| ^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `remove` on type `i2c_driver`
--> rust/kernel/i2c.rs:125:27
|
125 | (*idrv.get()).remove = Some(Self::remove_callback);
| ^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `shutdown` on type `i2c_driver`
--> rust/kernel/i2c.rs:126:27
|
126 | (*idrv.get()).shutdown = Some(Self::shutdown_callback);
| ^^^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `id_table` on type `i2c_driver`
--> rust/kernel/i2c.rs:127:27
|
127 | (*idrv.get()).id_table = i2c_table;
| ^^^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `driver` on type `i2c_driver`
--> rust/kernel/i2c.rs:128:27
|
128 | (*idrv.get()).driver.of_match_table = of_table;
| ^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `driver` on type `i2c_driver`
--> rust/kernel/i2c.rs:129:27
|
129 | (*idrv.get()).driver.acpi_match_table = acpi_table;
| ^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `dev` on type `i2c_client`
--> rust/kernel/i2c.rs:393:73
|
393 | unsafe { bindings::put_device(&raw mut (*obj.as_ref().as_raw()).dev) }
| ^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `dev` on type `i2c_client`
--> rust/kernel/i2c.rs:402:44
|
402 | let dev = unsafe { &raw mut (*raw).dev };
| ^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `dev` on type `i2c_client`
--> rust/kernel/i2c.rs:422:79
|
422 | let idev = unsafe { container_of!(dev.as_raw(), bindings::i2c_client, dev) };
| ^^^
|
= note: available field is: `_address`
--
>> error[E0609]: no field `dev` on type `i2c_client`
--> rust/kernel/i2c.rs:422:79
|
422 | let idev = unsafe { container_of!(dev.as_raw(), bindings::i2c_client, dev) };
| ^^^ unknown field
|
= note: available field is: `_address`
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-11-20 23:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-20 23:09 [linux-next:master 9315/10599] error[E0609]: no field `id_table` on type `i2c_driver` kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).