Re: [PATCH 1/2] mfd: lm3533: fix build warning
From: kbuild test robot
Date: Wed Oct 07 2015 - 08:41:41 EST
Hi Sudip,
[auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore]
config: x86_64-randconfig-x002-201540 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/mfd/lm3533-core.c: In function 'lm3533_i2c_probe':
>> drivers/mfd/lm3533-core.c:615:2: error: 'ret' undeclared (first use in this function)
ret = lm3533_device_init(lm3533);
^
drivers/mfd/lm3533-core.c:615:2: note: each undeclared identifier is reported only once for each function it appears in
vim +/ret +615 drivers/mfd/lm3533-core.c
fa648e51 Johan Hovold 2012-05-15 609 if (IS_ERR(lm3533->regmap))
fa648e51 Johan Hovold 2012-05-15 610 return PTR_ERR(lm3533->regmap);
16c5c023 Johan Hovold 2012-05-03 611
16c5c023 Johan Hovold 2012-05-03 612 lm3533->dev = &i2c->dev;
16c5c023 Johan Hovold 2012-05-03 613 lm3533->irq = i2c->irq;
16c5c023 Johan Hovold 2012-05-03 614
16c5c023 Johan Hovold 2012-05-03 @615 ret = lm3533_device_init(lm3533);
16c5c023 Johan Hovold 2012-05-03 616 if (ret)
fa648e51 Johan Hovold 2012-05-15 617 return ret;
16c5c023 Johan Hovold 2012-05-03 618
:::::: The code at line 615 was first introduced by commit
:::::: 16c5c023aac86228e3e94c4bf6d19708ea861a05 mfd: Add LM3533 lighting-power core driver
:::::: TO: Johan Hovold <jhovold@xxxxxxxxx>
:::::: CC: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data