Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [wens:mtk-wip 33/66] error[E0425]: cannot find function `regulator_enable` in crate `bindings`
@ 2026-09-12  9:40 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-12  9:40 UTC (permalink / raw)
  To: Chen-Yu Tsai; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/wens/linux.git mtk-wip
head:   ac7b6280e922fd6f4053c6350fd5cd77ca1c73ef
commit: 44b8c36a829c619a9c7bff439ca250b289c06ee6 [33/66] regulator: core: Add "enable and wait" functions
config: s390-randconfig-002-20260912 (https://download.01.org/0day-ci/archive/20260912/202609121759.ulrbax7l-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260912/202609121759.ulrbax7l-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/202609121759.ulrbax7l-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0425]: cannot find function `regulator_enable` in crate `bindings`
   --> rust/kernel/regulator.rs:288:38
   |
   288 |         to_result(unsafe { bindings::regulator_enable(self.inner) })
   |                                      ^^^^^^^^^^^^^^^^
   |
   ::: rust/bindings/bindings_generated.rs:117342:5
   |
   117342 |     pub fn regulator_disable(regulator: *mut regulator) -> ffi::c_int;
   |     ------------------------------------------------------------------ similarly named function `regulator_disable` defined here
   |
   help: a function with a similar name exists
   |
   288 -         to_result(unsafe { bindings::regulator_enable(self.inner) })
   288 +         to_result(unsafe { bindings::regulator_disable(self.inner) })
   |

--
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:[~2026-09-12  9:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-12  9:40 [wens:mtk-wip 33/66] error[E0425]: cannot find function `regulator_enable` 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