All of lore.kernel.org
 help / color / mirror / Atom feed
* error[E0425]: cannot find function `damon_set_target_pid` in crate `bindings`
@ 2026-10-02  0:45 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-02  0:45 UTC (permalink / raw)
  To: Enze Li; +Cc: oe-kbuild-all, 0day robot

tree:   https://github.com/intel-lab-lkp/linux/commits/Enze-Li/rust-add-bindings-for-linux-damon-h/20260927-152809
head:   b54b30247a4ba73c11361c6587ddc5d7c846aee6
commit: d565ea288f88d540e84887dd348c601db90f7b04 rust: damon: add basic DAMON abstractions
date:   5 days ago
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20261002/202610020212.9vL18fPN-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261002/202610020212.9vL18fPN-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/202610020212.9vL18fPN-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0425]: cannot find function `damon_set_target_pid` in crate `bindings`
   --> rust/kernel/damon.rs:56:38
   |
   56 |         let ret = unsafe { bindings::damon_set_target_pid(self.target.as_ptr(), pid) };
   |                                      ^^^^^^^^^^^^^^^^^^^^
   |
   ::: rust/bindings/bindings_generated.rs:140204:5
   |
   140204 |     pub fn damon_new_target() -> *mut damon_target;
   |     ----------------------------------------------- similarly named function `damon_new_target` defined here
   |
   help: a function with a similar name exists
   |
   56 -         let ret = unsafe { bindings::damon_set_target_pid(self.target.as_ptr(), pid) };
   56 +         let ret = unsafe { bindings::damon_new_target(self.target.as_ptr(), pid) };
   |

--
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-10-02  0:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-02  0:45 error[E0425]: cannot find function `damon_set_target_pid` in crate `bindings` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.