* [asoc:topic/topology 1/2] sound/soc/soc-topology.c:1572:19: error: implicit declaration of function 'snd_pcm_rate_range_to_bits'
@ 2016-02-15 22:24 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-02-15 22:24 UTC (permalink / raw)
To: Mengdong Lin; +Cc: alsa-devel, Mark Brown, kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1728 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/topology
head: acfc7d46cddcf71cf18772bbe8717b84eac5f672
commit: 64527e8a352968bda529f01df1c9dd5fe581ff04 [1/2] ASoC: topology: Add FE DAIs dynamically
config: i386-allmodconfig (attached as .config)
reproduce:
git checkout 64527e8a352968bda529f01df1c9dd5fe581ff04
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
sound/soc/soc-topology.c: In function 'soc_tplg_dai_create':
>> sound/soc/soc-topology.c:1572:19: error: implicit declaration of function 'snd_pcm_rate_range_to_bits' [-Werror=implicit-function-declaration]
stream->rates = snd_pcm_rate_range_to_bits(caps->rate_min,
^
sound/soc/soc-topology.c: At top level:
sound/soc/soc-topology.c:249:31: warning: 'get_dobj_type' defined but not used [-Wunused-function]
static enum snd_soc_dobj_type get_dobj_type(struct snd_soc_tplg_hdr *hdr,
^
cc1: some warnings being treated as errors
vim +/snd_pcm_rate_range_to_bits +1572 sound/soc/soc-topology.c
1566 stream = &dai_drv->playback;
1567 caps = &pcm->caps[SND_SOC_TPLG_STREAM_PLAYBACK];
1568
1569 stream->stream_name = kstrdup(caps->name, GFP_KERNEL);
1570 stream->channels_min = caps->channels_min;
1571 stream->channels_max = caps->channels_max;
> 1572 stream->rates = snd_pcm_rate_range_to_bits(caps->rate_min,
1573 caps->rate_max);
1574 stream->formats = caps->formats;
1575 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 53452 bytes --]
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-02-15 22:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-15 22:24 [asoc:topic/topology 1/2] sound/soc/soc-topology.c:1572:19: error: implicit declaration of function 'snd_pcm_rate_range_to_bits' kbuild 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.