Skip to contentSkip to conversation

error[E0425]: cannot find function `snd_pcm_suspend_all` in crate `bindings`

PATCH kernel test robot 1 participant 1 message Nov 5

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git test/sound-rust-v7.3
head:   070444a8abf14da700680a5331d0a95cd11e578b
commit: 5f8a12175afdf1ad3ab75535be1efc491d89805b [26/56] ALSA: rust: add PM and runtime PM support
config: s390-randconfig-2000-20261105 (https://download.01.org/0day-ci/archive/20261106/[email protected]/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 0fa861dbbf46e5a75f621406fd91cb015d8754bf)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261106/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> error[E0425]: cannot find function `snd_pcm_suspend_all` in crate `bindings`

--> rust/kernel/sound/pcm.rs:748:38
|
748 | to_result(unsafe { bindings::snd_pcm_suspend_all(self.as_raw()) })
| ^^^^^^^^^^^^^^^^^^^ not found in bindings

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki