From: kernel test robot <lkp@intel.com>
To: Danilo Krummrich <dakr@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Miguel Ojeda <ojeda@kernel.org>,
Philipp Stanner <pstanner@redhat.com>
Subject: [rust:staging/rust-pci 9/13] error[E0425]: cannot find function `ioremap` in crate `bindings`
Date: Thu, 24 Oct 2024 20:22:19 +0800 [thread overview]
Message-ID: <202410242055.aHPu0LUJ-lkp@intel.com> (raw)
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
reply other threads:[~2024-10-24 12:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202410242055.aHPu0LUJ-lkp@intel.com \
--to=lkp@intel.com \
--cc=dakr@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ojeda@kernel.org \
--cc=pstanner@redhat.com \
/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