Re: [PATCH linux v4 1/6] hwmon: Add core On-Chip Controller support for POWER CPUs

From: kbuild test robot
Date: Thu Jan 26 2017 - 21:06:04 EST

Hi Edward,

[auto build test ERROR on hwmon/hwmon-next]
[also build test ERROR on v4.10-rc5 next-20170125]
[cannot apply to linux/master]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

base: hwmon-next
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=alpha

All error/warnings (new ones prefixed by >>):

In file included from include/linux/linkage.h:6:0,
from include/linux/kernel.h:6,
from include/linux/unaligned/packed_struct.h:4,
from include/linux/unaligned/le_struct.h:4,
from arch/alpha/include/asm/unaligned.h:4,
from drivers/hwmon/occ/occ.c:19:
>> drivers/hwmon/occ/occ.c:433:15: error: 'occ_get_sensor_value' undeclared here (not in a function)
include/linux/export.h:58:16: note: in definition of macro '___EXPORT_SYMBOL'
extern typeof(sym) sym; \
>> drivers/hwmon/occ/occ.c:433:1: note: in expansion of macro 'EXPORT_SYMBOL'

vim +/occ_get_sensor_value +433 drivers/hwmon/occ/occ.c

428 int occ_get_sensor_field(struct occ *occ, int sensor_type, int sensor_num,
429 u32 hwmon, long *val)
430 {
431 return occ->ops.get_sensor(occ, sensor_type, sensor_num, hwmon, val);
432 }
> 433 EXPORT_SYMBOL(occ_get_sensor_value);
435 void occ_get_response_blocks(struct occ *occ, struct occ_blocks **blocks)
436 {

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip