All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Danilo Krummrich <dakr@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-kernel@vger.kernel.org,
	FUJITA Tomonori <fujita.tomonori@gmail.com>
Subject: error[E0609]: no field `id_table` on type `pci_driver`
Date: Tue, 2 Dec 2025 02:13:08 +0800	[thread overview]
Message-ID: <202512020235.XKIERYQ4-lkp@intel.com> (raw)

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@intel.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

                 reply	other threads:[~2025-12-01 18:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202512020235.XKIERYQ4-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dakr@kernel.org \
    --cc=fujita.tomonori@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.