error[E0425]: cannot find function `snd_ac97_suspend` in crate `bindings`
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git test/sound-rust-v7.3 head: 070444a8abf14da700680a5331d0a95cd11e578b commit: 213e33e4c0ede930090f9d3988c53fc5fc6bdeb6 [32/56] ALSA: rust: add AC97 codec abstraction 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_ac97_suspend` in crate `bindings`
--> rust/kernel/sound/ac97.rs:223:28
|
223 | unsafe { bindings::snd_ac97_suspend(self.0) };
| ^^^^^^^^^^^^^^^^
|
::: rust/bindings/bindings_generated.rs:147923:5
|
147923 | / pub fn snd_ac97_bus(
147924 | | card: *mut snd_card,
147925 | | num: ffi::c_int,
147926 | | ops: *const snd_ac97_bus_ops,
147927 | | private_data: *mut ffi::c_void,
147928 | | rbus: *mut *mut snd_ac97_bus,
147929 | | ) -> ffi::c_int;
| |____________________- similarly named function `snd_ac97_bus` defined here
| help: a function with a similar name exists
|
223 - unsafe { bindings::snd_ac97_suspend(self.0) };
223 + unsafe { bindings::snd_ac97_bus(self.0) };
|
--
>> error[E0425]: cannot find function `snd_ac97_resume` in crate `bindings`
--> rust/kernel/sound/ac97.rs:229:28
|
229 | unsafe { bindings::snd_ac97_resume(self.0) };
| ^^^^^^^^^^^^^^^
|
::: rust/bindings/bindings_generated.rs:147973:5
|
147973 | / pub fn snd_ac97_reset(
147974 | | ac97: *mut snd_ac97,
147975 | | try_warm: bool_,
147976 | | id: ffi::c_uint,
147977 | | id_mask: ffi::c_uint,
147978 | | ) -> ffi::c_int;
| |____________________- similarly named function `snd_ac97_reset` defined here
| help: a function with a similar name exists
|
229 - unsafe { bindings::snd_ac97_resume(self.0) };
229 + unsafe { bindings::snd_ac97_reset(self.0) };
|
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki