Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Vinod Koul <vinod.koul@intel.com>
To: kbuild test robot <fengguang.wu@intel.com>
Cc: Jeeja KP <jeeja.kp@intel.com>,
	alsa-devel@alsa-project.org, Mark Brown <broonie@kernel.org>,
	kbuild-all@01.org
Subject: Re: [asoc:topic/intel 75/78] sound/soc/intel/boards/skl_rt286.c:55:2: error: implicit declaration of function 'SND_SOC_DAPM_SINK'
Date: Wed, 9 Dec 2015 21:42:30 +0530	[thread overview]
Message-ID: <20151209161230.GF1854@localhost> (raw)
In-Reply-To: <201512090450.UOjjnJOi%fengguang.wu@intel.com>

On Wed, Dec 09, 2015 at 04:05:51AM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/intel
> head:   9ec2053b13f75d7ad9c0e6db9763954bd1a1b9ae
> commit: b34e24d2406f123d5dbbff4fdeebbc2af76b0acd [75/78] ASoC: Intel: Skylake: add wov as int sink
> config: i386-allmodconfig (attached as .config)
> reproduce:
>         git checkout b34e24d2406f123d5dbbff4fdeebbc2af76b0acd
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All error/warnings (new ones prefixed by >>):
> 
> >> sound/soc/intel/boards/skl_rt286.c:55:2: error: implicit declaration of function 'SND_SOC_DAPM_SINK' [-Werror=implicit-function-declaration]
>      SND_SOC_DAPM_SINK("WoV Sink"),

This is false alarm. SND_SOC_DAPM_SINK is in mark's dapm branch I think

Thanks

>      ^
> >> sound/soc/intel/boards/skl_rt286.c:55:2: error: initializer element is not constant
>    sound/soc/intel/boards/skl_rt286.c:55:2: note: (near initialization for 'skylake_widgets[5].id')
> >> sound/soc/intel/boards/skl_rt286.c:49:61: warning: missing braces around initializer [-Wmissing-braces]
>     static const struct snd_soc_dapm_widget skylake_widgets[] = {
>                                                                 ^
>    sound/soc/intel/boards/skl_rt286.c:49:61: note: (near initialization for 'skylake_widgets')
>    cc1: some warnings being treated as errors
> 
> vim +/SND_SOC_DAPM_SINK +55 sound/soc/intel/boards/skl_rt286.c
> 
>     43	static const struct snd_kcontrol_new skylake_controls[] = {
>     44		SOC_DAPM_PIN_SWITCH("Speaker"),
>     45		SOC_DAPM_PIN_SWITCH("Headphone Jack"),
>     46		SOC_DAPM_PIN_SWITCH("Mic Jack"),
>     47	};
>     48	
>   > 49	static const struct snd_soc_dapm_widget skylake_widgets[] = {
>     50		SND_SOC_DAPM_HP("Headphone Jack", NULL),
>     51		SND_SOC_DAPM_SPK("Speaker", NULL),
>     52		SND_SOC_DAPM_MIC("Mic Jack", NULL),
>     53		SND_SOC_DAPM_MIC("DMIC2", NULL),
>     54		SND_SOC_DAPM_MIC("SoC DMIC", NULL),
>   > 55		SND_SOC_DAPM_SINK("WoV Sink"),
>     56	};
>     57	
>     58	static const struct snd_soc_dapm_route skylake_rt286_map[] = {
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation



-- 
~Vinod

      reply	other threads:[~2015-12-09 16:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-08 20:05 [asoc:topic/intel 75/78] sound/soc/intel/boards/skl_rt286.c:55:2: error: implicit declaration of function 'SND_SOC_DAPM_SINK' kbuild test robot
2015-12-09 16:12 ` Vinod Koul [this message]

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=20151209161230.GF1854@localhost \
    --to=vinod.koul@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=fengguang.wu@intel.com \
    --cc=jeeja.kp@intel.com \
    --cc=kbuild-all@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox