Re: [PATCH v2 3/3] power: bq27xxx: add support for NVRAM R/W access
From: kbuild test robot <hidden>
Date: 2017-01-06 03:50:11
Also in:
linux-pm
Hi Matt, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.10-rc2 next-20170105] [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/Matt-Ranostay/devicetree-property-units-add-mWh-and-mAh-units/20170106-112110 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: x86_64-randconfig-x008-201701 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>):
quoted
drivers/power/supply/bq27xxx_battery_i2c.c:64:3: error: 'BQ27425' undeclared here (not in a function)
[BQ27425] = bq27425_dm_subclass_regs,
^~~~~~~quoted
drivers/power/supply/bq27xxx_battery_i2c.c:64:3: error: array index in initializer not of integer type
drivers/power/supply/bq27xxx_battery_i2c.c:64:3: note: (near initialization for 'bq27xxx_dm_subclass_regs')
drivers/power/supply/bq27xxx_battery_i2c.c:68:3: error: array index in initializer not of integer type
[BQ27425] = 0x04143672,
^~~~~~~
drivers/power/supply/bq27xxx_battery_i2c.c:68:3: note: (near initialization for 'bq27xxx_unseal_keys')
vim +/BQ27425 +64 drivers/power/supply/bq27xxx_battery_i2c.c
58 { BQ27XXX_GAS_GAUGING_STATE_SUBCLASS, 12, "design-capacity" },
59 { BQ27XXX_GAS_GAUGING_STATE_SUBCLASS, 14, "design-energy" },
60 { BQ27XXX_GAS_GAUGING_STATE_SUBCLASS, 18, "terminate-voltage" },
61 };
62
63 static struct bq27xxx_dm_regs *bq27xxx_dm_subclass_regs[] = {
> 64 [BQ27425] = bq27425_dm_subclass_regs,
65 };
66
67 static unsigned int bq27xxx_unseal_keys[] = {
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation Attachments
- .config.gz [application/gzip] 27593 bytes