[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202507060837.ziqhqXVk-lkp@intel.com>
Date: Sun, 6 Jul 2025 08:39:07 +0800
From: kernel test robot <lkp@...el.com>
To: Daniel Almeida <daniel.almeida@...labora.com>,
Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>,
Boris Brezillon <bbrezillon@...nel.org>,
Sebastian Reichel <sebastian.reichel@...labora.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, Benno Lossin <lossin@...nel.org>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org, rust-for-linux@...r.kernel.org,
Daniel Almeida <daniel.almeida@...labora.com>
Subject: Re: [PATCH v7 1/2] rust: regulator: add a bare minimum regulator
abstraction
Hi Daniel,
kernel test robot noticed the following build errors:
[auto build test ERROR on 2009a2d5696944d85c34d75e691a6f3884e787c0]
url: https://github.com/intel-lab-lkp/linux/commits/Daniel-Almeida/rust-regulator-add-a-bare-minimum-regulator-abstraction/20250705-024526
base: 2009a2d5696944d85c34d75e691a6f3884e787c0
patch link: https://lore.kernel.org/r/20250704-topics-tyr-regulator-v7-1-77bfca2e22dc%40collabora.com
patch subject: [PATCH v7 1/2] rust: regulator: add a bare minimum regulator abstraction
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20250706/202507060837.ziqhqXVk-lkp@intel.com/config)
compiler: clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250706/202507060837.ziqhqXVk-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507060837.ziqhqXVk-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0425]: cannot find function `regulator_set_voltage` in crate `bindings`
--> rust/kernel/regulator.rs:258:23
|
258 | bindings::regulator_set_voltage(self.inner.as_ptr(), min_uv.0, max_uv.0)
| ^^^^^^^^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `regulator_get_voltage` in crate `bindings`
--> rust/kernel/regulator.rs:265:42
|
265 | let voltage = unsafe { bindings::regulator_get_voltage(self.inner.as_ptr()) };
| ^^^^^^^^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `regulator_get` in crate `bindings`
--> rust/kernel/regulator.rs:276:53
|
276 | let inner = from_err_ptr(unsafe { bindings::regulator_get(dev.as_raw(), name.as_ptr()) })?;
| ^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `regulator_enable` in crate `bindings`
--> rust/kernel/regulator.rs:290:38
|
290 | to_result(unsafe { bindings::regulator_enable(self.inner.as_ptr()) })
| ^^^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `regulator_disable` in crate `bindings`
--> rust/kernel/regulator.rs:295:38
|
295 | to_result(unsafe { bindings::regulator_disable(self.inner.as_ptr()) })
| ^^^^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `regulator_is_enabled` in crate `bindings`
--> rust/kernel/regulator.rs:379:28
|
379 | unsafe { bindings::regulator_is_enabled(self.inner.as_ptr()) != 0 }
| ^^^^^^^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `regulator_disable` in crate `bindings`
--> rust/kernel/regulator.rs:389:32
|
389 | unsafe { bindings::regulator_disable(self.inner.as_ptr()) };
| ^^^^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `regulator_put` in crate `bindings`
--> rust/kernel/regulator.rs:393:28
|
393 | unsafe { bindings::regulator_put(self.inner.as_ptr()) };
| ^^^^^^^^^^^^^ not found in `bindings`
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists