llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [rust:staging/rust-device 11/12] error[E0425]: cannot find function `ioremap` in crate `bindings`
@ 2024-06-16  0:51 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-16  0:51 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-device
head:   6530ecc4ac729a040a955a5e2d13c37d671b6e5c
commit: 564a5aba91749daa7cd969c482d0ccc49f247395 [11/12] rust: add `io::Io` base type
config: arm64-randconfig-003-20240616 (https://download.01.org/0day-ci/archive/20240616/202406160832.0FU0NbZ6-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 78ee473784e5ef6f0b19ce4cb111fb6e4d23c6b2)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240616/202406160832.0FU0NbZ6-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/202406160832.0FU0NbZ6-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0425]: cannot find function `ioremap` in crate `bindings`
   --> rust/doctests_kernel_generated.rs:2200:39
   |
   2200  |         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:43009:5
   |
   43009 |     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-06-16  0:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-16  0:51 [rust:staging/rust-device 11/12] 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;
as well as URLs for NNTP newsgroup(s).