llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Danilo Krummrich <dakr@redhat.com>
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-device 11/12] error[E0425]: cannot find function `ioremap` in crate `bindings`
Date: Sun, 16 Jun 2024 08:51:06 +0800	[thread overview]
Message-ID: <202406160832.0FU0NbZ6-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-06-16  0:52 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=202406160832.0FU0NbZ6-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dakr@redhat.com \
    --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;
as well as URLs for NNTP newsgroup(s).