alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org, Mark Brown <broonie@kernel.org>,
	kbuild-all@01.org
Subject: [asoc:topic/arizona 10/13] sound/soc/codecs/wm_adsp.c:758:8: error: implicit declaration of function 'wm_coeff_base_reg'
Date: Sat, 12 Nov 2016 03:40:07 +0800	[thread overview]
Message-ID: <201611120305.ZPCeQGuT%fengguang.wu@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 4067 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/arizona
head:   a23ebba845fee07cce00659c06844845b24da290
commit: f4f0c4c60c3959a8f3650850b799049161732e91 [10/13] ASoC: wm_adsp: Signal firmware shutdown through event control
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout f4f0c4c60c3959a8f3650850b799049161732e91
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   include/linux/compiler.h:253:8: sparse: attribute 'no_sanitize_address': unknown attribute
   sound/soc/codecs/wm_adsp.c:758:15: sparse: undefined identifier 'wm_coeff_base_reg'
   sound/soc/codecs/wm_adsp.c:762:9: sparse: undefined identifier 'wm_adsp_mem_region_name'
   sound/soc/codecs/wm_adsp.c:802:9: sparse: undefined identifier 'wm_adsp_mem_region_name'
   sound/soc/codecs/wm_adsp.c:1112:24: sparse: no member 'type' in struct wm_coeff_ctl
   sound/soc/codecs/wm_adsp.c: In function 'wm_coeff_write_acked_control':
>> sound/soc/codecs/wm_adsp.c:758:8: error: implicit declaration of function 'wm_coeff_base_reg' [-Werror=implicit-function-declaration]
     ret = wm_coeff_base_reg(ctl, &reg);
           ^~~~~~~~~~~~~~~~~
   In file included from include/linux/printk.h:305:0,
                    from include/linux/kernel.h:13,
                    from include/linux/list.h:8,
                    from include/linux/module.h:9,
                    from sound/soc/codecs/wm_adsp.c:13:
   sound/soc/codecs/wm_adsp.c:764:4: error: implicit declaration of function 'wm_adsp_mem_region_name' [-Werror=implicit-function-declaration]
       wm_adsp_mem_region_name(ctl->alg_region.type), ctl->offset);
       ^
   include/linux/dynamic_debug.h:135:9: note: in definition of macro 'dynamic_dev_dbg'
          ##__VA_ARGS__);  \
            ^~~~~~~~~~~
   sound/soc/codecs/wm_adsp.c:46:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(_dsp->dev, "DSP%d: " fmt, _dsp->num, ##__VA_ARGS__)
     ^~~~~~~
   sound/soc/codecs/wm_adsp.c:762:2: note: in expansion of macro 'adsp_dbg'
     adsp_dbg(dsp, "Sending 0x%x to acked control alg 0x%x %s:0x%x\n",
     ^~~~~~~~
   sound/soc/codecs/wm_adsp.c:46:21: warning: format '%s' expects argument of type 'char *', but argument 7 has type 'int' [-Wformat=]
     dev_dbg(_dsp->dev, "DSP%d: " fmt, _dsp->num, ##__VA_ARGS__)
                        ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
   sound/soc/codecs/wm_adsp.c:46:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(_dsp->dev, "DSP%d: " fmt, _dsp->num, ##__VA_ARGS__)
     ^~~~~~~
   sound/soc/codecs/wm_adsp.c:762:2: note: in expansion of macro 'adsp_dbg'
     adsp_dbg(dsp, "Sending 0x%x to acked control alg 0x%x %s:0x%x\n",
     ^~~~~~~~
   sound/soc/codecs/wm_adsp.c:42:22: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Wformat=]
     dev_warn(_dsp->dev, "DSP%d: " fmt, _dsp->num, ##__VA_ARGS__)
                         ^
   sound/soc/codecs/wm_adsp.c:802:2: note: in expansion of macro 'adsp_warn'
     adsp_warn(dsp, "Acked control @0x%x alg:0x%x %s:0x%x timed out\n",
     ^~~~~~~~~
   sound/soc/codecs/wm_adsp.c: In function 'wm_adsp_signal_event_controls':
   sound/soc/codecs/wm_adsp.c:1112:10: error: 'struct wm_coeff_ctl' has no member named 'type'
      if (ctl->type != WMFW_CTL_TYPE_HOSTEVENT)
             ^~
   cc1: some warnings being treated as errors

vim +/wm_coeff_base_reg +758 sound/soc/codecs/wm_adsp.c

   752	{
   753		struct wm_adsp *dsp = ctl->dsp;
   754		u32 val = cpu_to_be32(event_id);
   755		unsigned int reg;
   756		int i, ret;
   757	
 > 758		ret = wm_coeff_base_reg(ctl, &reg);
   759		if (ret)
   760			return ret;
   761	

---
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: 56569 bytes --]

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



                 reply	other threads:[~2016-11-11 19:40 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=201611120305.ZPCeQGuT%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=kbuild-all@01.org \
    --cc=rf@opensource.wolfsonmicro.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).