[alsa-devel] [sound:topic/intel-lpe-audio 60/69] sound/x86/intel_hdmi_audio.c:1796:3: error: implicit declaration of function 'snd_pcm_suspend'
kbuild test robot
fengguang.wu at intel.com
Sun Feb 5 04:07:18 CET 2017
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/intel-lpe-audio
head: 91b0cb0cc07bcb5114df2897531f4ea41c148c8e
commit: 182cdf23dbf6672954ac646871bf5902050268c7 [60/69] ALSA: x86: Implement runtime PM
config: i386-randconfig-x076-02050830 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 182cdf23dbf6672954ac646871bf5902050268c7
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
sound/x86/intel_hdmi_audio.c: In function 'hdmi_lpe_audio_runtime_suspend':
>> sound/x86/intel_hdmi_audio.c:1796:3: error: implicit declaration of function 'snd_pcm_suspend' [-Werror=implicit-function-declaration]
snd_pcm_suspend(substream);
^~~~~~~~~~~~~~~
At top level:
sound/x86/intel_hdmi_audio.c:1814:12: warning: 'hdmi_lpe_audio_resume' defined but not used [-Wunused-function]
static int hdmi_lpe_audio_resume(struct device *dev)
^~~~~~~~~~~~~~~~~~~~~
sound/x86/intel_hdmi_audio.c:1803:12: warning: 'hdmi_lpe_audio_suspend' defined but not used [-Wunused-function]
static int hdmi_lpe_audio_suspend(struct device *dev)
^~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/snd_pcm_suspend +1796 sound/x86/intel_hdmi_audio.c
1790 {
1791 struct snd_intelhad *ctx = dev_get_drvdata(dev);
1792 struct snd_pcm_substream *substream;
1793
1794 substream = had_substream_get(ctx);
1795 if (substream) {
> 1796 snd_pcm_suspend(substream);
1797 had_substream_put(ctx);
1798 }
1799
---
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: 26630 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170205/acce34c6/attachment-0001.bin>
More information about the Alsa-devel
mailing list