[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202512020235.XKIERYQ4-lkp@intel.com>
Date: Tue, 2 Dec 2025 02:13:08 +0800
From: kernel test robot <lkp@...el.com>
To: Danilo Krummrich <dakr@...nel.org>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org,
FUJITA Tomonori <fujita.tomonori@...il.com>
Subject: error[E0609]: no field `id_table` on type `pci_driver`
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7d0a66e4bb9081d75c82ec4957c50034cb0ea449
commit: 1bd8b6b2c5d38d9881d59928b986eacba40f9da8 rust: pci: add basic PCI device / driver abstractions
date: 12 months ago
config: arm64-randconfig-001-20251202 (https://download.01.org/0day-ci/archive/20251202/202512020235.XKIERYQ4-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project b3428bb966f1de8aa48375ffee0eba04ede133b7)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251202/202512020235.XKIERYQ4-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512020235.XKIERYQ4-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0609]: no field `name` on type `pci_driver`
--> rust/kernel/pci.rs:32:27
|
32 | (*pdrv.get()).name = name.as_char_ptr();
| ^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `probe` on type `pci_driver`
--> rust/kernel/pci.rs:33:27
|
33 | (*pdrv.get()).probe = Some(Self::probe_callback);
| ^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `remove` on type `pci_driver`
--> rust/kernel/pci.rs:34:27
|
34 | (*pdrv.get()).remove = Some(Self::remove_callback);
| ^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `id_table` on type `pci_driver`
--> rust/kernel/pci.rs:35:27
|
35 | (*pdrv.get()).id_table = T::ID_TABLE.as_ptr();
| ^^^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `dev` on type `bindings::pci_dev`
--> rust/kernel/pci.rs:57:76
|
57 | let dev = unsafe { device::Device::get_device(addr_of_mut!((*pdev).dev)) };
| ^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `dev` on type `bindings::pci_dev`
--> rust/kernel/pci.rs:255:68
|
255 | unsafe { container_of!(self.0.as_raw(), bindings::pci_dev, dev) as _ }
| ^^^
|
= note: available field is: `_address`
--
>> error[E0609]: no field `vendor` on type `bindings::pci_dev`
--> rust/kernel/pci.rs:261:35
|
261 | unsafe { (*self.as_raw()).vendor }
| ^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `device` on type `bindings::pci_dev`
--> rust/kernel/pci.rs:267:35
|
267 | unsafe { (*self.as_raw()).device }
| ^^^^^^ unknown field
|
= note: available field is: `_address`
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists