Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH v5 11/16] samples: rust: add Rust PCI sample driver
       [not found] <20241210224947.23804-12-dakr@kernel.org>
@ 2024-12-16  5:07 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-12-16  5:07 UTC (permalink / raw)
  To: Danilo Krummrich; +Cc: llvm, oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-16  5:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20241210224947.23804-12-dakr@kernel.org>
2024-12-16  5:07 ` [PATCH v5 11/16] samples: rust: add Rust PCI sample driver kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox