lkml.org 
[lkml]   [2016]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1] power: bq27xxx_battery: Restore device name
Hi Ivaylo,

[auto build test ERROR on battery/master]
[also build test ERROR on v4.5-rc2 next-20160201]
[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/Ivaylo-Dimitrov/power-bq27xxx_battery-Restore-device-name/20160202-203646
base: git://git.infradead.org/battery-2.6.git master
config: i386-randconfig-x003-02010231 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

drivers/power/bq27xxx_battery_i2c.c: In function 'bq27xxx_battery_i2c_remove':
>> drivers/power/bq27xxx_battery_i2c.c:141:26: error: 'num' undeclared (first use in this function)
idr_remove(&battery_id, num);
^
drivers/power/bq27xxx_battery_i2c.c:141:26: note: each undeclared identifier is reported only once for each function it appears in

vim +/num +141 drivers/power/bq27xxx_battery_i2c.c

135 {
136 struct bq27xxx_device_info *di = i2c_get_clientdata(client);
137
138 bq27xxx_battery_teardown(di);
139
140 mutex_lock(&battery_mutex);
> 141 idr_remove(&battery_id, num);
142 mutex_unlock(&battery_mutex);
143
144 return 0;

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2016-02-02 14:01    [W:0.118 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site