Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [rust:staging/rust-pci 9/13] error[E0425]: cannot find function `ioremap` in crate `bindings`
@ 2024-10-24 12:22 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-24 12:22 UTC (permalink / raw)
  To: Danilo Krummrich; +Cc: llvm, oe-kbuild-all, Miguel Ojeda, Philipp Stanner

tree:   https://github.com/Rust-for-Linux/linux staging/rust-pci
head:   c13795fe4557999937eba6854f92761cfba8446f
commit: ec5f6bae35fa8db1243ff88be9565d717598beb5 [9/13] rust: add `io::Io` base type
config: riscv-randconfig-001-20241024 (https://download.01.org/0day-ci/archive/20241024/202410242055.aHPu0LUJ-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 5886454669c3c9026f7f27eab13509dd0241f2d6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241024/202410242055.aHPu0LUJ-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/202410242055.aHPu0LUJ-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0425]: cannot find function `ioremap` in crate `bindings`
   --> rust/doctests_kernel_generated.rs:3322:39
   |
   3322  |         let addr = unsafe { bindings::ioremap(paddr as _, SIZE.try_into().unwrap()) };
   |                                       ^^^^^^^ help: a function with a similar name exists: `iounmap`
   |
   ::: rust/bindings/bindings_generated.rs:40183:5
   |
   40183 |     pub fn iounmap(addr: *mut core::ffi::c_void);
   |     -------------------------------------------- similarly named function `iounmap` defined here

-- 
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-24 12:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-24 12:22 [rust:staging/rust-pci 9/13] error[E0425]: cannot find function `ioremap` in crate `bindings` 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