From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-sof-driver:pr/1394 24/33] sound/soc/sof/intel/hda-stream.c:596:5: error: implicit declaration of function 'snd_sof_pcm_period_elapsed'; did you mean 'snd_pcm_period_elapsed'?
Date: Wed, 30 Oct 2019 14:12:54 +0800 [thread overview]
Message-ID: <201910301445.swgs6c2F%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4085 bytes --]
tree: https://github.com/thesofproject/linux pr/1394
head: 91b47936d70bd1c2aeca4aa61fc8016fd3e92474
commit: 774d0dd30e70aad952229de498530c85d40e39e2 [24/33] ASoC: SOF: partition audio-specific parts from the SOF core
config: x86_64-sof-customedconfig-sof-defconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
git checkout 774d0dd30e70aad952229de498530c85d40e39e2
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
Note: the linux-sof-driver/pr/1394 HEAD 91b47936d70bd1c2aeca4aa61fc8016fd3e92474 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
sound/soc/sof/intel/hda-stream.c: In function 'hda_dsp_stream_check':
>> sound/soc/sof/intel/hda-stream.c:596:5: error: implicit declaration of function 'snd_sof_pcm_period_elapsed'; did you mean 'snd_pcm_period_elapsed'? [-Werror=implicit-function-declaration]
snd_sof_pcm_period_elapsed(s->substream);
^~~~~~~~~~~~~~~~~~~~~~~~~~
snd_pcm_period_elapsed
cc1: some warnings being treated as errors
vim +596 sound/soc/sof/intel/hda-stream.c
4a7d41d609ab1d Liam Girdwood 2018-05-09 571
dec1616a8441ae Ranjani Sridharan 2019-06-05 572 static bool hda_dsp_stream_check(struct hdac_bus *bus, u32 status)
4a7d41d609ab1d Liam Girdwood 2018-05-09 573 {
4a7d41d609ab1d Liam Girdwood 2018-05-09 574 struct sof_intel_hda_dev *sof_hda = bus_to_sof_hda(bus);
0e24a0d4b3bf76 Keyon Jie 2019-04-17 575 struct hdac_stream *s;
dec1616a8441ae Ranjani Sridharan 2019-06-05 576 bool active = false;
4a7d41d609ab1d Liam Girdwood 2018-05-09 577 u32 sd_status;
4a7d41d609ab1d Liam Girdwood 2018-05-09 578
4a7d41d609ab1d Liam Girdwood 2018-05-09 579 list_for_each_entry(s, &bus->stream_list, list) {
dec1616a8441ae Ranjani Sridharan 2019-06-05 580 if (status & BIT(s->index) && s->opened) {
4a7d41d609ab1d Liam Girdwood 2018-05-09 581 sd_status = snd_hdac_stream_readb(s, SD_STS);
4a7d41d609ab1d Liam Girdwood 2018-05-09 582
4a7d41d609ab1d Liam Girdwood 2018-05-09 583 dev_vdbg(bus->dev, "stream %d status 0x%x\n",
4a7d41d609ab1d Liam Girdwood 2018-05-09 584 s->index, sd_status);
4a7d41d609ab1d Liam Girdwood 2018-05-09 585
dec1616a8441ae Ranjani Sridharan 2019-06-05 586 snd_hdac_stream_writeb(s, SD_STS, sd_status);
4a7d41d609ab1d Liam Girdwood 2018-05-09 587
dec1616a8441ae Ranjani Sridharan 2019-06-05 588 active = true;
4a7d41d609ab1d Liam Girdwood 2018-05-09 589 if (!s->substream ||
4a7d41d609ab1d Liam Girdwood 2018-05-09 590 !s->running ||
4a7d41d609ab1d Liam Girdwood 2018-05-09 591 (sd_status & SOF_HDA_CL_DMA_SD_INT_COMPLETE) == 0)
4a7d41d609ab1d Liam Girdwood 2018-05-09 592 continue;
4a7d41d609ab1d Liam Girdwood 2018-05-09 593
4a7d41d609ab1d Liam Girdwood 2018-05-09 594 /* Inform ALSA only in case not do that with IPC */
4a7d41d609ab1d Liam Girdwood 2018-05-09 595 if (sof_hda->no_ipc_position)
0e24a0d4b3bf76 Keyon Jie 2019-04-17 @596 snd_sof_pcm_period_elapsed(s->substream);
dec1616a8441ae Ranjani Sridharan 2019-06-05 597 }
dec1616a8441ae Ranjani Sridharan 2019-06-05 598 }
4a7d41d609ab1d Liam Girdwood 2018-05-09 599
dec1616a8441ae Ranjani Sridharan 2019-06-05 600 return active;
4a7d41d609ab1d Liam Girdwood 2018-05-09 601 }
dec1616a8441ae Ranjani Sridharan 2019-06-05 602
:::::: The code at line 596 was first introduced by commit
:::::: 0e24a0d4b3bf76ef4ab1700fe59bea34aa84f296 ASoC: SOF: Intel: use snd_sof_pcm_period_elapsed
:::::: TO: Keyon Jie <yang.jie@linux.intel.com>
:::::: CC: Pierre Bossart <pierre-louis.bossart@linux.intel.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32316 bytes --]
reply other threads:[~2019-10-30 6:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201910301445.swgs6c2F%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.