Skip to contentSkip to conversation

error[E0425]: cannot find function `snd_info_get_line` 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: e181d3e8f00ae014f1e75fade71c9dada6a53976 [25/56] ALSA: rust: add proc text-entry binding
config: arm64-randconfig-2200-20261105 (https://download.01.org/0day-ci/archive/20261105/[email protected]/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
smatch: v0.5.0-9187-g5189e3fb
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261105/[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_info_get_line` in crate `bindings`

--> rust/kernel/sound/info.rs:55:23
|
55 | bindings::snd_info_get_line(
| ^^^^^^^^^^^^^^^^^ not found in bindings
--

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

--> rust/kernel/sound/info.rs:71:23
|
71 | bindings::snd_info_get_str(
| ^^^^^^^^^^^^^^^^ not found in bindings
--

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

--> rust/kernel/sound/info.rs:230:23
|
230 | bindings::snd_info_create_card_entry(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in bindings
--

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

--> rust/kernel/sound/info.rs:259:38
|
259 | to_result(unsafe { bindings::snd_info_register(entry) })
| ^^^^^^^^^^^^^^^^^
|
::: rust/bindings/bindings_generated.rs:138216:5 |
138216 | pub fn snd_card_register(card: *mut snd_card) -> ffi::c_int;
| ------------------------------------------------------------ similarly named function snd_card_register defined here
|
help: a function with a similar name exists |
259 - to_result(unsafe { bindings::snd_info_register(entry) })
259 + to_result(unsafe { bindings::snd_card_register(entry) })
|

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