[alsa-devel] [PATCH 3/3] ASoC: mt6797: combine DAI to register component

kbuild test robot lkp at intel.com
Fri May 25 13:51:13 CEST 2018


Hi KaiChieh,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on asoc/for-next]
[also build test ERROR on next-20180517]
[cannot apply to v4.17-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/KaiChieh-Chuang/ASoC-mediatek-add-sub-dai-to-mtk_base_afe/20180525-182427
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> sound/soc/mediatek/mt6797/mt6797-afe-pcm.c:730:10: error: 'mtk_afe_pcm_ops' undeclared here (not in a function); did you mean 'mtk_afe_fe_ops'?
     .ops = &mtk_afe_pcm_ops,
             ^~~~~~~~~~~~~~~
             mtk_afe_fe_ops
>> sound/soc/mediatek/mt6797/mt6797-afe-pcm.c:731:13: error: 'mtk_afe_pcm_new' undeclared here (not in a function); did you mean 'mtk_afe_pcm_ops'?
     .pcm_new = mtk_afe_pcm_new,
                ^~~~~~~~~~~~~~~
                mtk_afe_pcm_ops
>> sound/soc/mediatek/mt6797/mt6797-afe-pcm.c:732:14: error: 'mtk_afe_pcm_free' undeclared here (not in a function); did you mean 'mtk_afe_pcm_new'?
     .pcm_free = mtk_afe_pcm_free,
                 ^~~~~~~~~~~~~~~~
                 mtk_afe_pcm_new

vim +730 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c

   727	
   728	static const struct snd_soc_component_driver mt6797_afe_component = {
   729		.name = AFE_PCM_NAME,
 > 730		.ops = &mtk_afe_pcm_ops,
 > 731		.pcm_new = mtk_afe_pcm_new,
 > 732		.pcm_free = mtk_afe_pcm_free,
   733		.probe = mt6797_afe_component_probe,
   734	};
   735	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 65300 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20180525/a62efa2e/attachment-0001.bin>


More information about the Alsa-devel mailing list