[alsa-devel] [asoc:topic/mtk 1/1] sound/soc/mediatek/mt8173-rt5650.c:236:3: error: implicit declaration of function 'snd_soc_get_dai_name'

kbuild test robot fengguang.wu at intel.com
Wed Apr 20 02:30:31 CEST 2016


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/mtk
head:   0beeb8d0b434b8b007ac8058fb2cac5997fff6df
commit: 0beeb8d0b434b8b007ac8058fb2cac5997fff6df [1/1] ASoC: mediatek: Add second I2S on mt8173-rt5650 machine driver
config: arm-allmodconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 0beeb8d0b434b8b007ac8058fb2cac5997fff6df
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   sound/soc/mediatek/mt8173-rt5650.c: In function 'mt8173_rt5650_dev_probe':
>> sound/soc/mediatek/mt8173-rt5650.c:236:3: error: implicit declaration of function 'snd_soc_get_dai_name' [-Werror=implicit-function-declaration]
      ret = snd_soc_get_dai_name(&args, &codec_dai_capture);
      ^
   cc1: some warnings being treated as errors

vim +/snd_soc_get_dai_name +236 sound/soc/mediatek/mt8173-rt5650.c

   230				dev_err(&pdev->dev,
   231					"%s capture-dai name fail %d\n",
   232					__func__, ret);
   233				return ret;
   234			}
   235	
 > 236			ret = snd_soc_get_dai_name(&args, &codec_dai_capture);
   237			mt8173_rt5650_codecs[1].dai_name = codec_dai_capture;
   238		}
   239	

---
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/octet-stream
Size: 56968 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160420/7658726b/attachment-0001.obj>


More information about the Alsa-devel mailing list