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

From: kbuild test robot
Date: Fri Jan 27 2017 - 07:37:51 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: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=openrisc

All errors (new ones prefixed by >>):

drivers/hwmon/occ/occ.c:433:1: error: 'occ_get_sensor_value' undeclared here (not in a function)
>> drivers/hwmon/occ/occ.c:433:1: error: type defaults to 'int' in declaration of 'occ_get_sensor_value'

vim +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