[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202511211732.sS8sQiq7-lkp@intel.com>
Date: Fri, 21 Nov 2025 17:31:50 +0800
From: kernel test robot <lkp@...el.com>
To: Tiwei Bie <tiwei.btw@...group.com>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Johannes Berg <johannes.berg@...el.com>
Subject: error[E0609]: no field `name` on type `pci_driver`
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fd95357fd8c6778ac7dea6c57a19b8b182b6e91f
commit: a0e2cb6a90634f3dc80f16e882a683ee5761b0b0 um: Add VFIO-based virtual PCI driver
date: 7 months ago
config: um-randconfig-001-20251121 (https://download.01.org/0day-ci/archive/20251121/202511211732.sS8sQiq7-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/202511211732.sS8sQiq7-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/202511211732.sS8sQiq7-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0609]: no field `name` on type `pci_driver`
--> rust/kernel/pci.rs:42:27
|
42 | (*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:43:27
|
43 | (*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:44:27
|
44 | (*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:45:27
|
45 | (*pdrv.get()).id_table = T::ID_TABLE.as_ptr();
| ^^^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `vendor` on type `bindings::pci_dev`
--> rust/kernel/pci.rs:371:35
|
371 | 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:377:35
|
377 | unsafe { (*self.as_raw()).device }
| ^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `dev` on type `bindings::pci_dev`
--> rust/kernel/pci.rs:462:58
|
462 | let dev = unsafe { addr_of_mut!((*self.as_raw()).dev) };
| ^^^ 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