public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [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'
@ 2025-12-02  6:45 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-02  6:45 UTC (permalink / raw)
  To: Kuninori Morimoto; +Cc: llvm, oe-kbuild-all

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
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-12-02  6:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-02  6:45 [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox