[Letux-kernel] [PATCH] drivers: led: is31fl319x: 6/9-channel light effect led driver

kbuild test robot lkp at intel.com
Tue Apr 19 00:19:10 CEST 2016


Hi Nikolaus,

[auto build test ERROR on j.anaszewski-leds/for-next]
[also build test ERROR on v4.6-rc4 next-20160418]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/H-Nikolaus-Schaller/drivers-led-is31fl319x-6-9-channel-light-effect-led-driver/20160419-024650
base:   https://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds for-next
config: i386-randconfig-b0-04190529 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/leds/leds-is31fl319x.c: In function 'is31fl319x_probe':
>> drivers/leds/leds-is31fl319x.c:299:11: error: too many arguments to function 'is31fl319x_led_dt_init'
      pdata = is31fl319x_led_dt_init(client, (int) id->driver_data);
              ^
   drivers/leds/leds-is31fl319x.c:271:1: note: declared here
    is31fl319x_led_dt_init(struct i2c_client *client)
    ^

vim +/is31fl319x_led_dt_init +299 drivers/leds/leds-is31fl319x.c

   293			NUM_LEDS, (int) id->driver_data);
   294	
   295		if (!i2c_check_functionality(adapter, I2C_FUNC_I2C))
   296			return -EIO;
   297	
   298		if (!pdata) {
 > 299			pdata = is31fl319x_led_dt_init(client, (int) id->driver_data);
   300			if (IS_ERR(pdata)) {
   301				dev_err(&client->dev, "DT led error %d\n",
   302					(int) PTR_ERR(pdata));

---
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/octet-stream
Size: 22088 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20160419/e5fe1c55/attachment-0001.obj>


More information about the Letux-kernel mailing list