[alsa-devel] [PATCH 1/4] ASoC: es8328-i2c: Add compatible for ES8388

kbuild test robot lkp at intel.com
Sat Jan 14 18:56:41 PST 2017


Hi Romain,

[auto build test WARNING on rockchip/for-next]
[also build test WARNING on v4.10-rc3 next-20170113]
[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/Romain-Perier/Add-support-for-es8388-on-the-rock2/20170115-095611
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=alpha 

All warnings (new ones prefixed by >>):

>> sound/soc/codecs/es8328-i2c.c:22:14: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
     { "es8328", "es8388", 0 },
                 ^~~~~~~~
   sound/soc/codecs/es8328-i2c.c:22:14: note: (near initialization for 'es8328_id[0].driver_data')
>> sound/soc/codecs/es8328-i2c.c:22:24: warning: excess elements in struct initializer
     { "es8328", "es8388", 0 },
                           ^
   sound/soc/codecs/es8328-i2c.c:22:24: note: (near initialization for 'es8328_id[0]')

vim +22 sound/soc/codecs/es8328-i2c.c

     6	 * Author: Sean Cross <xobs at kosagi.com>
     7	 *
     8	 * This program is free software; you can redistribute it and/or modify
     9	 * it under the terms of the GNU General Public License version 2 as
    10	 * published by the Free Software Foundation.
    11	 */
    12	
    13	#include <linux/module.h>
    14	#include <linux/i2c.h>
    15	#include <linux/regmap.h>
    16	
    17	#include <sound/soc.h>
    18	
    19	#include "es8328.h"
    20	
    21	static const struct i2c_device_id es8328_id[] = {
  > 22		{ "es8328", "es8388", 0 },
    23		{ }
    24	};
    25	MODULE_DEVICE_TABLE(i2c, es8328_id);
    26	
    27	static const struct of_device_id es8328_of_match[] = {
    28		{ .compatible = "everest,es8328", },
    29		{ .compatible = "everest,es8388", },
    30		{ }

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 48654 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20170115/2bfe41f1/attachment-0001.gz>


More information about the Linux-rockchip mailing list