[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160720071801.GK10855@wfg-t540p.sh.intel.com>
Date: Wed, 20 Jul 2016 15:18:01 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Guenter Roeck <linux@...ck-us.net>
Cc: kbuild-all@...org, Jean Delvare <jdelvare@...e.com>,
Jonathan Cameron <jic23@...nel.org>,
Zhang Rui <rui.zhang@...el.com>,
Eduardo Valentin <edubezval@...il.com>,
Punit Agrawal <punit.agrawal@....com>,
linux-pm@...r.kernel.org, linux-iio@...r.kernel.org,
linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org,
Guenter Roeck <linux@...ck-us.net>
Subject: Re: [lkp] [PATCH v2 2/9] hwmon: (core) New hwmon registration API
Hi,
[auto build test ERROR on hwmon/hwmon-next]
[also build test ERROR on v4.7-rc7 next-20160719]
[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/Guenter-Roeck/hwmon-New-hwmon-registration-API/20160717-133643
base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
config: arm-pxa_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm
All errors (new ones prefixed by >>):
drivers/built-in.o: In function `hwmon_thermal_add_sensor':
>> drivers/hwmon/hwmon.c:145: undefined reference to `devm_thermal_zone_of_sensor_register'
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout 3c8e6fa53b772cd0950dbce3a803575ce7ffa8dc
vim +145 drivers/hwmon/hwmon.c
3c8e6fa5 Guenter Roeck 2016-07-16 139 if (!tdata)
3c8e6fa5 Guenter Roeck 2016-07-16 140 return -ENOMEM;
3c8e6fa5 Guenter Roeck 2016-07-16 141
3c8e6fa5 Guenter Roeck 2016-07-16 142 tdata->hwdev = hwdev;
3c8e6fa5 Guenter Roeck 2016-07-16 143 tdata->index = index;
3c8e6fa5 Guenter Roeck 2016-07-16 144
3c8e6fa5 Guenter Roeck 2016-07-16 @145 devm_thermal_zone_of_sensor_register(&hwdev->dev, index, tdata,
3c8e6fa5 Guenter Roeck 2016-07-16 146 &hwmon_thermal_ops);
3c8e6fa5 Guenter Roeck 2016-07-16 147
3c8e6fa5 Guenter Roeck 2016-07-16 148 return 0;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (30562 bytes)
Powered by blists - more mailing lists