Re: [PATCH 6/8] rust: pci: add bus callback sriov_configure(), to control SR-IOV from sysfs

From: kernel test robot

Date: Fri Nov 21 2025 - 01:01:23 EST


Hi Peter,

kernel test robot noticed the following build errors:

[auto build test ERROR on e4addc7cc2dfcc19f1c8c8e47f3834b22cb21559]

url: https://github.com/intel-lab-lkp/linux/commits/Peter-Colberg/rust-pci-add-is_virtfn-to-check-for-VFs/20251120-062302
base: e4addc7cc2dfcc19f1c8c8e47f3834b22cb21559
patch link: https://lore.kernel.org/r/20251119-rust-pci-sriov-v1-6-883a94599a97%40redhat.com
patch subject: [PATCH 6/8] rust: pci: add bus callback sriov_configure(), to control SR-IOV from sysfs
config: um-randconfig-001-20251121 (https://download.01.org/0day-ci/archive/20251121/202511211317.FkJsCIc0-lkp@xxxxxxxxx/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/202511211317.FkJsCIc0-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511211317.FkJsCIc0-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> error[E0609]: no field `sriov_configure` on type `pci_driver`
--> rust/kernel/pci.rs:71:31
|
71 | (*pdrv.get()).sriov_configure = Some(Self::sriov_configure_callback);
| ^^^^^^^^^^^^^^^ unknown field
|
= note: available field is: `_address`

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki