From: kernel test robot <lkp@intel.com>
To: Ard Biesheuvel <ardb@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [ardb:x86-pie-v3 12/16] error[E0425]: cannot find function `put_device` in crate `bindings`
Date: Thu, 11 Dec 2025 01:14:32 +0800 [thread overview]
Message-ID: <202512110125.hSkCUVFa-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git x86-pie-v3
head: a8811acb11ba01eb88a548d40735773355424255
commit: 3ba70776dd9c02b64ba2b9dd8541be5da1126f4e [12/16] x86: Use PIE codegen for the core kernel
config: x86_64-randconfig-072-20251210 (https://download.01.org/0day-ci/archive/20251211/202512110125.hSkCUVFa-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251211/202512110125.hSkCUVFa-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/202512110125.hSkCUVFa-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0425]: cannot find function `put_device` in crate `bindings`
--> rust/kernel/auxiliary.rs:276:28
|
276 | unsafe { bindings::put_device(dev) }
| ^^^^^^^^^^ help: a static with a similar name exists: `cpu_devices`
|
::: rust/bindings/bindings_generated.rs:64096:5
|
64096 | pub static mut cpu_devices: cpu;
| ------------------------------- similarly named static `cpu_devices` defined here
--
>> error[E0425]: cannot find function `fwnode_property_present` in crate `bindings`
--> rust/kernel/device/property.rs:101:28
|
101 | unsafe { bindings::fwnode_property_present(self.as_raw().cast_const(), name.as_char_ptr()) }
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `fwnode_property_read_bool` in crate `bindings`
--> rust/kernel/device/property.rs:109:28
|
109 | unsafe { bindings::fwnode_property_read_bool(self.as_raw(), name.as_char_ptr()) }
| ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `fwnode_property_match_string` in crate `bindings`
--> rust/kernel/device/property.rs:119:23
|
119 | bindings::fwnode_property_match_string(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `fwnode_get_named_child_node` in crate `bindings`
--> rust/kernel/device/property.rs:206:32
|
206 | unsafe { bindings::fwnode_get_named_child_node(self.as_raw(), name.as_char_ptr()) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `fwnode_get_next_child_node` in crate `bindings`
--> rust/kernel/device/property.rs:242:43
|
242 | let next = unsafe { bindings::fwnode_get_next_child_node(self.as_raw(), prev_ptr) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `fwnode_property_get_reference_args` in crate `bindings`
--> rust/kernel/device/property.rs:284:23
|
284 | bindings::fwnode_property_get_reference_args(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `fwnode_handle_get` in crate `bindings`
--> rust/kernel/device/property.rs:366:28
|
366 | unsafe { bindings::fwnode_handle_get(self.as_raw()) };
| ^^^^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `fwnode_handle_put` in crate `bindings`
--> rust/kernel/device/property.rs:372:28
|
372 | unsafe { bindings::fwnode_handle_put(obj.cast().as_ptr()) }
| ^^^^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `fwnode_count_parents` in crate `bindings`
--> rust/kernel/device/property.rs:387:46
|
387 | let num_parents = unsafe { bindings::fwnode_count_parents(self.as_raw()) };
| ^^^^^^^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `fwnode_get_nth_parent` in crate `bindings`
--> rust/kernel/device/property.rs:394:46
|
394 | let ptr = unsafe { bindings::fwnode_get_nth_parent(self.as_raw(), depth) };
| ^^^^^^^^^^^^^^^^^^^^^ not found in `bindings`
..
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-12-10 17:14 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=202512110125.hSkCUVFa-lkp@intel.com \
--to=lkp@intel.com \
--cc=ardb@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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