The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Ryan Lee <RyanS.Lee@maximintegrated.com>
Cc: kbuild-all@01.org, lgirdwood@gmail.com, broonie@kernel.org,
	robh+dt@kernel.org, mark.rutland@arm.com, perex@perex.cz,
	tiwai@suse.com, arnd@arndb.de, michael@amarulasolutions.com,
	oder_chiou@realtek.com, yesanishhere@gmail.com,
	jacob@teenage.engineering, Damien.Horsley@imgtec.com,
	bardliao@realtek.com, kuninori.morimoto.gx@renesas.com,
	petr@barix.com, lars@metafoo.de, nh6z@nh6z.net,
	ryans.lee@maximintegrated.com, alsa-devel@alsa-project.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA SoC MAX98927 driver - Initial release
Date: Thu, 24 Nov 2016 01:51:38 +0800	[thread overview]
Message-ID: <201611240115.wXfx3iYV%fengguang.wu@intel.com> (raw)
In-Reply-To: <1479877026-5172-1-git-send-email-RyanS.Lee@maximintegrated.com>

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

Hi Ryan,

[auto build test ERROR on asoc/for-next]
[also build test ERROR on v4.9-rc6 next-20161123]
[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/Ryan-Lee/ALSA-SoC-MAX98927-driver-Initial-release/20161124-004840
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
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 error/warnings (new ones prefixed by >>):

>> sound/soc/codecs/max98927.c:755:2: error: unknown field 'dapm_routes' specified in initializer
     .dapm_routes = max98927_audio_map,
     ^
>> sound/soc/codecs/max98927.c:755:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .dapm_routes = max98927_audio_map,
                    ^~~~~~~~~~~~~~~~~~
   sound/soc/codecs/max98927.c:755:17: note: (near initialization for 'soc_codec_dev_max98927.remove')
>> sound/soc/codecs/max98927.c:756:2: error: unknown field 'num_dapm_routes' specified in initializer
     .num_dapm_routes = ARRAY_SIZE(max98927_audio_map),
     ^
   In file included from include/linux/delay.h:10:0,
                    from sound/soc/codecs/max98927.c:13:
>> include/linux/kernel.h:53:25: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
    #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
                            ^
>> sound/soc/codecs/max98927.c:756:21: note: in expansion of macro 'ARRAY_SIZE'
     .num_dapm_routes = ARRAY_SIZE(max98927_audio_map),
                        ^~~~~~~~~~
   include/linux/kernel.h:53:25: note: (near initialization for 'soc_codec_dev_max98927.suspend')
    #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
                            ^
>> sound/soc/codecs/max98927.c:756:21: note: in expansion of macro 'ARRAY_SIZE'
     .num_dapm_routes = ARRAY_SIZE(max98927_audio_map),
                        ^~~~~~~~~~
>> sound/soc/codecs/max98927.c:757:2: error: unknown field 'dapm_widgets' specified in initializer
     .dapm_widgets = max98927_dapm_widgets,
     ^
   sound/soc/codecs/max98927.c:757:18: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .dapm_widgets = max98927_dapm_widgets,
                     ^~~~~~~~~~~~~~~~~~~~~
   sound/soc/codecs/max98927.c:757:18: note: (near initialization for 'soc_codec_dev_max98927.resume')
>> sound/soc/codecs/max98927.c:758:2: error: unknown field 'num_dapm_widgets' specified in initializer
     .num_dapm_widgets = ARRAY_SIZE(max98927_dapm_widgets),
     ^
   In file included from include/linux/delay.h:10:0,
                    from sound/soc/codecs/max98927.c:13:
>> include/linux/kernel.h:53:25: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
    #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
                            ^
   sound/soc/codecs/max98927.c:758:22: note: in expansion of macro 'ARRAY_SIZE'
     .num_dapm_widgets = ARRAY_SIZE(max98927_dapm_widgets),
                         ^~~~~~~~~~
   include/linux/kernel.h:53:25: note: (near initialization for 'soc_codec_dev_max98927.component_driver.name')
    #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
                            ^
   sound/soc/codecs/max98927.c:758:22: note: in expansion of macro 'ARRAY_SIZE'
     .num_dapm_widgets = ARRAY_SIZE(max98927_dapm_widgets),
                         ^~~~~~~~~~
>> sound/soc/codecs/max98927.c:759:2: error: unknown field 'controls' specified in initializer
     .controls = max98927_snd_controls,
     ^
   sound/soc/codecs/max98927.c:759:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .controls = max98927_snd_controls,
                 ^~~~~~~~~~~~~~~~~~~~~
   sound/soc/codecs/max98927.c:759:14: note: (near initialization for 'soc_codec_dev_max98927.set_sysclk')
>> sound/soc/codecs/max98927.c:760:2: error: unknown field 'num_controls' specified in initializer
     .num_controls = ARRAY_SIZE(max98927_snd_controls),
     ^
   In file included from include/linux/delay.h:10:0,
                    from sound/soc/codecs/max98927.c:13:
>> include/linux/kernel.h:53:25: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
    #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
                            ^
   sound/soc/codecs/max98927.c:760:18: note: in expansion of macro 'ARRAY_SIZE'
     .num_controls = ARRAY_SIZE(max98927_snd_controls),
                     ^~~~~~~~~~
   include/linux/kernel.h:53:25: note: (near initialization for 'soc_codec_dev_max98927.set_pll')
    #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
                            ^
   sound/soc/codecs/max98927.c:760:18: note: in expansion of macro 'ARRAY_SIZE'
     .num_controls = ARRAY_SIZE(max98927_snd_controls),
                     ^~~~~~~~~~
>> sound/soc/codecs/max98927.c:753:67: warning: missing braces around initializer [-Wmissing-braces]
    static const struct snd_soc_codec_driver soc_codec_dev_max98927 = {
                                                                      ^
   sound/soc/codecs/max98927.c:753:67: note: (near initialization for 'soc_codec_dev_max98927')
   cc1: some warnings being treated as errors

vim +/dapm_routes +755 sound/soc/codecs/max98927.c

   747	
   748		max98927_handle_pdata(codec);
   749	
   750		return ret;
   751	}
   752	
 > 753	static const struct snd_soc_codec_driver soc_codec_dev_max98927 = {
   754		.probe            = max98927_probe,
 > 755		.dapm_routes = max98927_audio_map,
 > 756		.num_dapm_routes = ARRAY_SIZE(max98927_audio_map),
 > 757		.dapm_widgets = max98927_dapm_widgets,
 > 758		.num_dapm_widgets = ARRAY_SIZE(max98927_dapm_widgets),
 > 759		.controls = max98927_snd_controls,
 > 760		.num_controls = ARRAY_SIZE(max98927_snd_controls),
   761	};
   762	
   763	static const struct regmap_config max98927_regmap = {

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

  parent reply	other threads:[~2016-11-23 17:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-23 18:13 [PATCH] ALSA SoC MAX98927 driver - Initial release kbuild test robot
2016-11-23  4:57 ` Ryan Lee
2016-11-23 15:46   ` Mark Brown
2016-11-23 17:51   ` kbuild test robot [this message]
2016-11-23 18:13   ` [PATCH] fix platform_no_drv_owner.cocci warnings kbuild test robot
2016-11-23 18:56   ` [PATCH] ALSA SoC MAX98927 driver - Initial release kbuild test robot
2016-11-23 19:20   ` Michael Trimarchi
2016-11-25  5:02   ` [PATCH v2] ALSA SoC MAX98927 driver - Revision Ryan Lee
2016-11-30 18:15     ` Mark Brown
2016-11-28 22:01   ` [PATCH] ALSA SoC MAX98927 driver - Initial release Rob Herring

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=201611240115.wXfx3iYV%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=Damien.Horsley@imgtec.com \
    --cc=RyanS.Lee@maximintegrated.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=arnd@arndb.de \
    --cc=bardliao@realtek.com \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jacob@teenage.engineering \
    --cc=kbuild-all@01.org \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=michael@amarulasolutions.com \
    --cc=nh6z@nh6z.net \
    --cc=oder_chiou@realtek.com \
    --cc=perex@perex.cz \
    --cc=petr@barix.com \
    --cc=robh+dt@kernel.org \
    --cc=tiwai@suse.com \
    --cc=yesanishhere@gmail.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