Skip to contentSkip to conversation

error[E0425]: cannot find type `Ac97BusOpsTable` in this scope

PATCH kernel test robot 1 participant 1 message Nov 8

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
head:   85650012d32d6724c5a416eab5ddc324b945e9f6
commit: 9c97f088f138c82c1b4f57f1731ac544fa4b47e6 [32/56] ALSA: rust: add AC97 codec abstraction
config: arm64-randconfig-2200-20261108 (https://download.01.org/0day-ci/archive/20261108/[email protected]/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
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/20261108/[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 type `Ac97BusOpsTable` in this scope

--> rust/doctests_kernel_generated.rs:18624:24
|
18624 | static MYDRV_AC97_OPS: Ac97BusOpsTable<MyChip> = Ac97BusOpsTable::new();
| ^^^^^^^^^^^^^^^ not found in this scope
|
= help: consider importing this struct:
kernel::sound::ac97::Ac97BusOpsTable
--

>> error[E0425]: cannot find type `MyChip` in this scope

--> rust/doctests_kernel_generated.rs:18624:40
|
18624 | static MYDRV_AC97_OPS: Ac97BusOpsTable<MyChip> = Ac97BusOpsTable::new();
| ^^^^^^ not found in this scope
--

>> error[E0433]: cannot find type `Ac97BusOpsTable` in this scope

--> rust/doctests_kernel_generated.rs:18624:50
|
18624 | static MYDRV_AC97_OPS: Ac97BusOpsTable<MyChip> = Ac97BusOpsTable::new();
| ^^^^^^^^^^^^^^^ use of undeclared type Ac97BusOpsTable
|
= help: consider importing this struct:
kernel::sound::ac97::Ac97BusOpsTable

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