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

From: kbuild test robot
Date: Mon Apr 18 2016 - 18:19:56 EST


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

Attachment: .config.gz
Description: Binary data