lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 24 Nov 2016 01:51:38 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Ryan Lee <RyanS.Lee@...imintegrated.com>
Cc:     kbuild-all@...org, lgirdwood@...il.com, broonie@...nel.org,
        robh+dt@...nel.org, mark.rutland@....com, perex@...ex.cz,
        tiwai@...e.com, arnd@...db.de, michael@...rulasolutions.com,
        oder_chiou@...ltek.com, yesanishhere@...il.com,
        jacob@...nage.engineering, Damien.Horsley@...tec.com,
        bardliao@...ltek.com, kuninori.morimoto.gx@...esas.com,
        petr@...ix.com, lars@...afoo.de, nh6z@...z.net,
        ryans.lee@...imintegrated.com, alsa-devel@...a-project.org,
        devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ALSA SoC MAX98927 driver - Initial release

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

Download attachment ".config.gz" of type "application/gzip" (56946 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ