[alsa-devel] [asoc:topic/topology 1/4] sound/soc/soc-topology.c:352:42: error: 'struct snd_soc_tplg_ops' has no member named 'widget_ready'
kbuild test robot
fengguang.wu at intel.com
Thu Jun 8 17:35:04 CEST 2017
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/topology
head: 294de6e372673229432dc8bcd80964223bc1589d
commit: c8597af855f3e34aaebaff0e5c3dbd07611c87f1 [1/4] ASoC: topology: Allow bespoke configuration post widget creation
config: x86_64-randconfig-g0-06082243 (attached as .config)
compiler: gcc-5 (Debian 5.4.1-2) 5.4.1 20160904
reproduce:
git checkout c8597af855f3e34aaebaff0e5c3dbd07611c87f1
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
sound/soc/soc-topology.c: In function 'soc_tplg_widget_ready':
>> sound/soc/soc-topology.c:352:42: error: 'struct snd_soc_tplg_ops' has no member named 'widget_ready'
if (tplg->comp && tplg->ops && tplg->ops->widget_ready)
^
sound/soc/soc-topology.c:353:19: error: 'struct snd_soc_tplg_ops' has no member named 'widget_ready'
return tplg->ops->widget_ready(tplg->comp, w, tplg_w);
^
sound/soc/soc-topology.c: In function 'soc_tplg_dai_load':
sound/soc/soc-topology.c:364:10: error: too many arguments to function 'tplg->ops->dai_load'
return tplg->ops->dai_load(tplg->comp, dai_drv, pcm, dai);
^
sound/soc/soc-topology.c: In function 'soc_tplg_dai_create':
sound/soc/soc-topology.c:1723:8: error: too few arguments to function 'soc_tplg_dai_load'
ret = soc_tplg_dai_load(tplg, dai_drv);
^
sound/soc/soc-topology.c:359:12: note: declared here
static int soc_tplg_dai_load(struct soc_tplg *tplg,
^
sound/soc/soc-topology.c: In function 'soc_tplg_dai_config':
sound/soc/soc-topology.c:2206:8: error: too few arguments to function 'soc_tplg_dai_load'
ret = soc_tplg_dai_load(tplg, dai_drv);
^
sound/soc/soc-topology.c:359:12: note: declared here
static int soc_tplg_dai_load(struct soc_tplg *tplg,
^
vim +352 sound/soc/soc-topology.c
346
347 /* optionally pass new dynamic widget to component driver. This is mainly for
348 * external widgets where we can assign private data/ops */
349 static int soc_tplg_widget_ready(struct soc_tplg *tplg,
350 struct snd_soc_dapm_widget *w, struct snd_soc_tplg_dapm_widget *tplg_w)
351 {
> 352 if (tplg->comp && tplg->ops && tplg->ops->widget_ready)
353 return tplg->ops->widget_ready(tplg->comp, w, tplg_w);
354
355 return 0;
---
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: 31281 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170608/157636c5/attachment-0001.bin>
More information about the Alsa-devel
mailing list