All of lore.kernel.org
 help / color / mirror / Atom feed
* [plbossart-sound:fix/ipc-fw-trace-abstraction 19/20] sound/soc/sof/mediatek/mt8195/mt8195.c:413:3: error: field designator 'load_module' does not refer to any field in type 'const struct snd_sof_dsp_ops'
@ 2022-01-21  3:31 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-21  3:31 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 5593 bytes --]

tree:   https://github.com/plbossart/sound fix/ipc-fw-trace-abstraction
head:   b411629b960db33df23fac6714626f993be385db
commit: df9d3c13b1cfafc274d7a669915ed69d347e6785 [19/20] ASOC: SOF: partition DSP ops in more detail
config: mips-buildonly-randconfig-r002-20220120 (https://download.01.org/0day-ci/archive/20220121/202201211158.7pmuft90-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d4baf3b1322b84816aa623d8e8cb45a49cb68b84)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        # https://github.com/plbossart/sound/commit/df9d3c13b1cfafc274d7a669915ed69d347e6785
        git remote add plbossart-sound https://github.com/plbossart/sound
        git fetch --no-tags plbossart-sound fix/ipc-fw-trace-abstraction
        git checkout df9d3c13b1cfafc274d7a669915ed69d347e6785
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash sound/soc/sof/mediatek/mt8195/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> sound/soc/sof/mediatek/mt8195/mt8195.c:413:3: error: field designator 'load_module' does not refer to any field in type 'const struct snd_sof_dsp_ops'
           .load_module    = snd_sof_parse_module_memcpy,
            ^
>> sound/soc/sof/mediatek/mt8195/mt8195.c:415:3: error: field designator 'load_firmware' does not refer to any field in type 'const struct snd_sof_dsp_ops'
           .load_firmware  = snd_sof_load_firmware_memcpy,
            ^
   2 errors generated.


vim +413 sound/soc/sof/mediatek/mt8195/mt8195.c

786e304e22cec7 YC Hung       2021-09-22  389  
b4c32346f9b06b YC Hung       2021-08-27  390  /* mt8195 ops */
53e3e4042de5be Daniel Baluta 2021-11-23  391  static const struct snd_sof_dsp_ops sof_mt8195_ops = {
b4c32346f9b06b YC Hung       2021-08-27  392  	/* probe and remove */
b4c32346f9b06b YC Hung       2021-08-27  393  	.probe		= mt8195_dsp_probe,
b4c32346f9b06b YC Hung       2021-08-27  394  	.remove		= mt8195_dsp_remove,
b4c32346f9b06b YC Hung       2021-08-27  395  
0ee31f3a875e21 YC Hung       2021-09-16  396  	/* DSP core boot */
0ee31f3a875e21 YC Hung       2021-09-16  397  	.run		= mt8195_run,
0ee31f3a875e21 YC Hung       2021-09-16  398  
b4c32346f9b06b YC Hung       2021-08-27  399  	/* Block IO */
b4c32346f9b06b YC Hung       2021-08-27  400  	.block_read	= sof_block_read,
b4c32346f9b06b YC Hung       2021-08-27  401  	.block_write	= sof_block_write,
b4c32346f9b06b YC Hung       2021-08-27  402  
b4c32346f9b06b YC Hung       2021-08-27  403  	/* Register IO */
b4c32346f9b06b YC Hung       2021-08-27  404  	.write		= sof_io_write,
b4c32346f9b06b YC Hung       2021-08-27  405  	.read		= sof_io_read,
b4c32346f9b06b YC Hung       2021-08-27  406  	.write64	= sof_io_write64,
b4c32346f9b06b YC Hung       2021-08-27  407  	.read64		= sof_io_read64,
b4c32346f9b06b YC Hung       2021-08-27  408  
b4c32346f9b06b YC Hung       2021-08-27  409  	/* misc */
b4c32346f9b06b YC Hung       2021-08-27  410  	.get_bar_index	= mt8195_get_bar_index,
b4c32346f9b06b YC Hung       2021-08-27  411  
0ee31f3a875e21 YC Hung       2021-09-16  412  	/* module loading */
0ee31f3a875e21 YC Hung       2021-09-16 @413  	.load_module	= snd_sof_parse_module_memcpy,
0ee31f3a875e21 YC Hung       2021-09-16  414  	/* firmware loading */
0ee31f3a875e21 YC Hung       2021-09-16 @415  	.load_firmware	= snd_sof_load_firmware_memcpy,
0ee31f3a875e21 YC Hung       2021-09-16  416  
b4c32346f9b06b YC Hung       2021-08-27  417  	/* Firmware ops */
b4c32346f9b06b YC Hung       2021-08-27  418  	.dsp_arch_ops = &sof_xtensa_arch_ops,
b4c32346f9b06b YC Hung       2021-08-27  419  
786e304e22cec7 YC Hung       2021-09-22  420  	/* DAI drivers */
786e304e22cec7 YC Hung       2021-09-22  421  	.drv = mt8195_dai,
786e304e22cec7 YC Hung       2021-09-22  422  	.num_drv = ARRAY_SIZE(mt8195_dai),
786e304e22cec7 YC Hung       2021-09-22  423  
9460a41bfe76e0 YC Hung       2021-10-25  424  	/* PM */
9460a41bfe76e0 YC Hung       2021-10-25  425  	.suspend	= mt8195_dsp_suspend,
9460a41bfe76e0 YC Hung       2021-10-25  426  	.resume		= mt8195_dsp_resume,
9460a41bfe76e0 YC Hung       2021-10-25  427  
b4c32346f9b06b YC Hung       2021-08-27  428  	/* ALSA HW info flags */
b4c32346f9b06b YC Hung       2021-08-27  429  	.hw_info =	SNDRV_PCM_INFO_MMAP |
b4c32346f9b06b YC Hung       2021-08-27  430  			SNDRV_PCM_INFO_MMAP_VALID |
b4c32346f9b06b YC Hung       2021-08-27  431  			SNDRV_PCM_INFO_INTERLEAVED |
b4c32346f9b06b YC Hung       2021-08-27  432  			SNDRV_PCM_INFO_PAUSE |
b4c32346f9b06b YC Hung       2021-08-27  433  			SNDRV_PCM_INFO_NO_PERIOD_WAKEUP,
b4c32346f9b06b YC Hung       2021-08-27  434  };
53e3e4042de5be Daniel Baluta 2021-11-23  435  

:::::: The code at line 413 was first introduced by commit
:::::: 0ee31f3a875e2107af9e13b6489ff3d89d32b3b2 ASoC: SOF: mediatek: Add fw loader and mt8195 dsp ops to load firmware

:::::: TO: YC Hung <yc.hung@mediatek.com>
:::::: CC: Daniel Baluta <daniel.baluta@gmail.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

only message in thread, other threads:[~2022-01-21  3:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-21  3:31 [plbossart-sound:fix/ipc-fw-trace-abstraction 19/20] sound/soc/sof/mediatek/mt8195/mt8195.c:413:3: error: field designator 'load_module' does not refer to any field in type 'const struct snd_sof_dsp_ops' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.