mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Icenowy Zheng <icenowy@aosc.xyz>
Cc: kbuild-all@01.org, Vinod Koul <vinod.koul@intel.com>,
	Rob Herring <robh+dt@kernel.org>,
	Maxime Ripard <maxime.ripard@free-electrons.com>,
	Chen-Yu Tsai <wens@csie.org>, Mark Brown <broonie@kernel.org>,
	devicetree@vger.kernel.org, alsa-devel@alsa-project.org,
	linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com,
	Icenowy Zheng <icenowy@aosc.xyz>,
	dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [alsa-devel] [PATCH v2 03/12] ASoC: sun8i-codec-analog: split out mbias
Date: Tue, 7 Mar 2017 08:15:25 +0800	[thread overview]
Message-ID: <201703070743.k6QjVQJ7%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170305133709.6288-4-icenowy@aosc.xyz>

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

Hi Icenowy,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.11-rc1 next-20170306]
[cannot apply to robh/for-next asoc/for-next]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Icenowy-Zheng/ASoC-sun8i-codec-analog-split-out-mic2/20170307-064313
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

>> sound/soc/sunxi/sun8i-codec-analog.c:705:2: error: unknown field 'has_mbias' specified in initializer
     .has_mbias = true,
     ^
   sound/soc/sunxi/sun8i-codec-analog.c:712:2: error: unknown field 'has_mbias' specified in initializer
     .has_mbias = true,
     ^
   sound/soc/sunxi/sun8i-codec-analog.c: In function 'sun8i_codec_analog_cmpnt_probe':
>> sound/soc/sunxi/sun8i-codec-analog.c:755:12: error: 'const struct sun8i_codec_analog_quirks' has no member named 'has_mbias'; did you mean 'has_mic2'?
     if (quirks->has_mbias) {
               ^~

vim +/has_mbias +705 sound/soc/sunxi/sun8i-codec-analog.c

   699	};
   700	
   701	static const struct sun8i_codec_analog_quirks sun8i_a23_quirks = {
   702		.has_headphone	= true,
   703		.has_hmic	= true,
   704		.has_linein	= true,
 > 705		.has_mbias	= true,
   706		.has_mic2	= true,
   707	};
   708	
   709	static const struct sun8i_codec_analog_quirks sun8i_h3_quirks = {
   710		.has_linein	= true,
   711		.has_lineout	= true,
   712		.has_mbias	= true,
   713		.has_mic2	= true,
   714	};
   715	
   716	static int sun8i_codec_analog_cmpnt_probe(struct snd_soc_component *cmpnt)
   717	{
   718		struct device *dev = cmpnt->dev;
   719		const struct sun8i_codec_analog_quirks *quirks;
   720		int ret;
   721	
   722		/*
   723		 * This would never return NULL unless someone directly registers a
   724		 * platform device matching this driver's name, without specifying a
   725		 * device tree node.
   726		 */
   727		quirks = of_device_get_match_data(dev);
   728	
   729		/* Add controls, widgets, and routes for individual features */
   730	
   731		if (quirks->has_headphone) {
   732			ret = sun8i_codec_add_headphone(cmpnt);
   733			if (ret)
   734				return ret;
   735		}
   736	
   737		if (quirks->has_hmic) {
   738			ret = sun8i_codec_add_hmic(cmpnt);
   739			if (ret)
   740				return ret;
   741		}
   742	
   743		if (quirks->has_linein) {
   744			ret = sun8i_codec_add_linein(cmpnt);
   745			if (ret)
   746				return ret;
   747		}
   748	
   749		if (quirks->has_lineout) {
   750			ret = sun8i_codec_add_lineout(cmpnt);
   751			if (ret)
   752				return ret;
   753		}
   754	
 > 755		if (quirks->has_mbias) {
   756			ret = sun8i_codec_add_mbias(cmpnt);
   757			if (ret)
   758				return ret;

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

  parent reply	other threads:[~2017-03-07  2:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170305133709.6288-1-icenowy@aosc.xyz>
     [not found] ` <20170305133709.6288-2-icenowy@aosc.xyz>
2017-03-06  3:43   ` [linux-sunxi] [PATCH v2 01/12] ASoC: sun8i-codec-analog: split out mic2 Chen-Yu Tsai
2017-03-15 18:13   ` Applied "ASoC: sun8i-codec-analog: split out mic2" to the asoc tree Mark Brown
     [not found] ` <20170305133709.6288-3-icenowy@aosc.xyz>
2017-03-06  3:45   ` [linux-sunxi] [PATCH v2 02/12] ASoC: sun8i-codec-analog: split out line in Chen-Yu Tsai
2017-03-15 18:13   ` Applied "ASoC: sun8i-codec-analog: split out line in" to the asoc tree Mark Brown
     [not found] ` <20170305133709.6288-7-icenowy@aosc.xyz>
2017-03-06  3:50   ` [PATCH v2 06/12] dmaengine: sun6i: make gate bit in sun8i's DMA engines a common quirk Chen-Yu Tsai
2017-03-14  4:10   ` Vinod Koul
     [not found] ` <20170305133709.6288-5-icenowy@aosc.xyz>
2017-03-06  3:53   ` [linux-sunxi] [PATCH v2 04/12] ASoC: sun8i-codec-analog: add support for V3s SoC Chen-Yu Tsai
     [not found] ` <20170305133709.6288-8-icenowy@aosc.xyz>
2017-03-06  3:58   ` [linux-sunxi] [PATCH v2 07/12] dmaengine: sun6i: support V3s SoC variant Chen-Yu Tsai
     [not found] ` <20170305133709.6288-6-icenowy@aosc.xyz>
2017-03-06  4:05   ` [linux-sunxi] [PATCH v2 05/12] ASoC: sun4i-codec: Add support for V3s codec Chen-Yu Tsai
2017-03-06  4:15     ` Chen-Yu Tsai
     [not found] ` <20170305133709.6288-9-icenowy@aosc.xyz>
2017-03-06  4:12   ` [linux-sunxi] [PATCH v2 08/12] ARM: dts: sun8i: restore the inclusion of ccu headers in V3s DTSI Chen-Yu Tsai
     [not found] ` <20170305133709.6288-10-icenowy@aosc.xyz>
2017-03-06  4:13   ` [linux-sunxi] [PATCH v2 09/12] ARM: dts: sun8i: add DMA engine " Chen-Yu Tsai
     [not found] ` <20170305133709.6288-11-icenowy@aosc.xyz>
2017-03-06  4:17   ` [PATCH v2 10/12] ARM: dts: sun8i: add audio codec support into " Chen-Yu Tsai
     [not found] ` <20170305133709.6288-12-icenowy@aosc.xyz>
2017-03-06  4:22   ` [linux-sunxi] [PATCH v2 11/12] ARM: dts: sun8i: add pinmux for V3s mmc1 Chen-Yu Tsai
     [not found] ` <20170305133709.6288-13-icenowy@aosc.xyz>
2017-03-06  4:28   ` [linux-sunxi] [PATCH v2 12/12] ARM: dts: sun8i: add device tree for Lichee Pi Zero with Dock Chen-Yu Tsai
     [not found] ` <20170305133709.6288-4-icenowy@aosc.xyz>
     [not found]   ` <6803451488721799@web16g.yandex.ru>
2017-03-06  3:46     ` [linux-sunxi] Re: [PATCH v2 03/12] ASoC: sun8i-codec-analog: split out mbias Chen-Yu Tsai
2017-03-07  0:15   ` kbuild test robot [this message]
2017-03-07  8:57 ` [PATCH v2 00/12] Add support for the audio codec on Allwinner V3s Vinod Koul

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=201703070743.k6QjVQJ7%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=icenowy@aosc.xyz \
    --cc=kbuild-all@01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=robh+dt@kernel.org \
    --cc=vinod.koul@intel.com \
    --cc=wens@csie.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

all inboxes | Powered by JetHome®