[morimoto:sound-cleanup-2025-12-01 11/13] sound/soc/mediatek/mt8189/mt8189-afe-pcm.c:2383:3: error: field designator 'pcm_construct' does not refer to any field in type 'const struct snd_soc_component_driver'

kernel test robot
2025-12-02T06:46:03Z

tree: https://github.com/morimoto/linux sound-cleanup-2025-12-01
head: a5568a9bacc493dbb1465f3b850acf8595553013
commit: bd2deca8dd7083e29460b70bedf2172a397d966b [11/13] ASoC: soc-component: remove pcm_construct()/pcm_destruct()
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20251202/202512021418.rt7R26pg-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251202/202512021418.rt7R26pg-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/202512021418.rt7R26pg-lkp@intel.com/

All errors (new ones prefixed by >>):

>> sound/soc/mediatek/mt8189/mt8189-afe-pcm.c:2383:3: error: field designator 'pcm_construct' does not refer to any field in type 'const struct snd_soc_component_driver'
2383 | .pcm_construct = mtk_afe_pcm_new,
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/mediatek/mt8189/mt8189-afe-pcm.c:2384:3: error: field designator 'pcm_destruct' does not refer to any field in type 'const struct snd_soc_component_driver'
2384 | .pcm_destruct = mt8189_afe_pcm_free,
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.

vim +2383 sound/soc/mediatek/mt8189/mt8189-afe-pcm.c

7eb1535855983f Cyril Chao 2025-10-31 2379
7eb1535855983f Cyril Chao 2025-10-31 2380 static const struct snd_soc_component_driver mt8189_afe_component = {
7eb1535855983f Cyril Chao 2025-10-31 2381 .name = AFE_PCM_NAME,
7eb1535855983f Cyril Chao 2025-10-31 2382 .probe = mt8189_afe_component_probe,
7eb1535855983f Cyril Chao 2025-10-31 @2383 .pcm_construct = mtk_afe_pcm_new,
7eb1535855983f Cyril Chao 2025-10-31 @2384 .pcm_destruct = mt8189_afe_pcm_free,
7eb1535855983f Cyril Chao 2025-10-31 2385 .open = mt8189_afe_pcm_open,
7eb1535855983f Cyril Chao 2025-10-31 2386 .pointer = mtk_afe_pcm_pointer,
7eb1535855983f Cyril Chao 2025-10-31 2387 };
7eb1535855983f Cyril Chao 2025-10-31 2388

:::::: The code at line 2383 was first introduced by commit
:::::: 7eb1535855983f67b95c2ba777d686cc17188285 ASoC: mediatek: mt8189: add platform driver

:::::: TO: Cyril Chao <Cyril.Chao@mediatek.com>
:::::: CC: Mark Brown <broonie@kernel.org>

--
0-DAY CI Kernel Test Service