From: kernel test robot <lkp@intel.com>
To: Danilo Krummrich <dakr@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v5 11/16] samples: rust: add Rust PCI sample driver
Date: Mon, 16 Dec 2024 13:07:48 +0800 [thread overview]
Message-ID: <202412161323.uc8c5aRn-lkp@intel.com> (raw)
In-Reply-To: <20241210224947.23804-12-dakr@kernel.org>
Hi Danilo,
kernel test robot noticed the following build errors:
[auto build test ERROR on fac04efc5c793dccbd07e2d59af9f90b7fc0dca4]
url: https://github.com/intel-lab-lkp/linux/commits/Danilo-Krummrich/rust-pass-module-name-to-Module-init/20241211-065809
base: fac04efc5c793dccbd07e2d59af9f90b7fc0dca4
patch link: https://lore.kernel.org/r/20241210224947.23804-12-dakr%40kernel.org
patch subject: [PATCH v5 11/16] samples: rust: add Rust PCI sample driver
config: x86_64-randconfig-004-20241216 (https://download.01.org/0day-ci/archive/20241216/202412161323.uc8c5aRn-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241216/202412161323.uc8c5aRn-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/202412161323.uc8c5aRn-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> error[E0432]: unresolved import `kernel::pci`
--> samples/rust/rust_driver_pci.rs:7:47
|
7 | use kernel::{bindings, c_str, devres::Devres, pci, prelude::*};
| ^^^ no `pci` in the root
|
note: found an item that was configured out
--> rust/kernel/lib.rs:86:9
|
86 | pub mod pci;
| ^^^
--
>> error[E0433]: failed to resolve: could not find `pci_device_table` in `kernel`
--> samples/rust/rust_driver_pci.rs:33:9
|
33 | kernel::pci_device_table!(
| ^^^^^^^^^^^^^^^^ could not find `pci_device_table` in `kernel`
--
>> error[E0433]: failed to resolve: could not find `module_pci_driver` in `kernel`
--> samples/rust/rust_driver_pci.rs:104:9
|
104 | kernel::module_pci_driver! {
| ^^^^^^^^^^^^^^^^^ could not find `module_pci_driver` in `kernel`
--
>> error[E0425]: cannot find value `PCI_TABLE` in this scope
--> samples/rust/rust_driver_pci.rs:63:51
|
63 | const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE;
| ^^^^^^^^^ not found in this scope
--
>> warning: unused import: `bindings`
--> samples/rust/rust_driver_pci.rs:7:14
|
7 | use kernel::{bindings, c_str, devres::Devres, pci, prelude::*};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
parent reply other threads:[~2024-12-16 5:08 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20241210224947.23804-12-dakr@kernel.org>]
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=202412161323.uc8c5aRn-lkp@intel.com \
--to=lkp@intel.com \
--cc=dakr@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox