public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [rust:staging/rust-pci 13/13] error[E0433]: failed to resolve: could not find `module_pci_driver` in `kernel`
@ 2024-10-19  6:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-19  6:09 UTC (permalink / raw)
  To: Danilo Krummrich; +Cc: llvm, oe-kbuild-all, Miguel Ojeda

tree:   https://github.com/Rust-for-Linux/linux staging/rust-pci
head:   d6146e25775c14aac6abb51dfe52c06ec5de8a2e
commit: d6146e25775c14aac6abb51dfe52c06ec5de8a2e [13/13] samples: rust: add Rust PCI sample driver
config: x86_64-randconfig-016-20241017 (https://download.01.org/0day-ci/archive/20241019/202410191436.oOXV1ArA-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241019/202410191436.oOXV1ArA-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/202410191436.oOXV1ArA-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0432]: unresolved import `kernel::pci`
   --> samples/rust/rust_driver_pci.rs:7:67
   |
   7  | use kernel::{bindings, c_str, device_id::IdArray, devres::Devres, pci, prelude::*};
   |                                                                   ^^^ no `pci` in the root
   |
   note: found an item that was configured out
   --> rust/kernel/lib.rs:77:9
   |
   77 | pub mod pci;
   |         ^^^
--
>> error[E0433]: failed to resolve: could not find `module_pci_driver` in `kernel`
   --> samples/rust/rust_driver_pci.rs:96:9
   |
   96 | kernel::module_pci_driver! {
   |         ^^^^^^^^^^^^^^^^^ could not find `module_pci_driver` in `kernel`

-- 
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-10-19  6:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-19  6:09 [rust:staging/rust-pci 13/13] error[E0433]: failed to resolve: could not find `module_pci_driver` in `kernel` 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