From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============6919925490210775809==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [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' Date: Fri, 21 Jan 2022 11:31:08 +0800 Message-ID: <202201211158.7pmuft90-lkp@intel.com> List-Id: --===============6919925490210775809== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://github.com/plbossart/sound fix/ipc-fw-trace-abstraction head: b411629b960db33df23fac6714626f993be385db commit: df9d3c13b1cfafc274d7a669915ed69d347e6785 [19/20] ASOC: SOF: partiti= on DSP ops in more detail config: mips-buildonly-randconfig-r002-20220120 (https://download.01.org/0d= ay-ci/archive/20220121/202201211158.7pmuft90-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d4baf3= b1322b84816aa623d8e8cb45a49cb68b84) reproduce (this is a W=3D1 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/df9d3c13b1cfafc274d7a66= 9915ed69d347e6785 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=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Dmips SHELL=3D/bin/bash sound/soc/sof/mediatek/mt8195/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> sound/soc/sof/mediatek/mt8195/mt8195.c:413:3: error: field designator 'l= oad_module' does not refer to any field in type 'const struct snd_sof_dsp_o= ps' .load_module =3D snd_sof_parse_module_memcpy, ^ >> sound/soc/sof/mediatek/mt8195/mt8195.c:415:3: error: field designator 'l= oad_firmware' does not refer to any field in type 'const struct snd_sof_dsp= _ops' .load_firmware =3D 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_d= sp_ops sof_mt8195_ops =3D { b4c32346f9b06b YC Hung 2021-08-27 392 /* probe and remove */ b4c32346f9b06b YC Hung 2021-08-27 393 .probe =3D mt8195_dsp_probe, b4c32346f9b06b YC Hung 2021-08-27 394 .remove =3D mt8195_dsp_remo= ve, 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 =3D 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 =3D sof_block_re= ad, b4c32346f9b06b YC Hung 2021-08-27 401 .block_write =3D sof_block_w= rite, b4c32346f9b06b YC Hung 2021-08-27 402 = b4c32346f9b06b YC Hung 2021-08-27 403 /* Register IO */ b4c32346f9b06b YC Hung 2021-08-27 404 .write =3D sof_io_write, b4c32346f9b06b YC Hung 2021-08-27 405 .read =3D sof_io_read, b4c32346f9b06b YC Hung 2021-08-27 406 .write64 =3D sof_io_write64, b4c32346f9b06b YC Hung 2021-08-27 407 .read64 =3D 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 =3D mt8195_ge= t_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 =3D snd_sof_par= se_module_memcpy, 0ee31f3a875e21 YC Hung 2021-09-16 414 /* firmware loading */ 0ee31f3a875e21 YC Hung 2021-09-16 @415 .load_firmware =3D snd_sof_l= oad_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 =3D &sof_xtens= a_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 =3D mt8195_dai, 786e304e22cec7 YC Hung 2021-09-22 422 .num_drv =3D ARRAY_SIZE(mt81= 95_dai), 786e304e22cec7 YC Hung 2021-09-22 423 = 9460a41bfe76e0 YC Hung 2021-10-25 424 /* PM */ 9460a41bfe76e0 YC Hung 2021-10-25 425 .suspend =3D mt8195_dsp_susp= end, 9460a41bfe76e0 YC Hung 2021-10-25 426 .resume =3D mt8195_dsp_resu= me, 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 =3D 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_W= AKEUP, 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 :::::: CC: Daniel Baluta --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============6919925490210775809==--