Re: [PATCH v5 1/2] PM / sleep: Go direct_complete if driver has no callbacks

From: kbuild test robot
Date: Tue Sep 29 2015 - 09:38:01 EST


Hi Tomeu,

[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]

config: sh-sh7785lcr_32bit_defconfig (attached as .config)
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
git checkout 5bf5ff8fb7c319addf70c42d9e58ff3981ecac56
# save the attached .config to linux build tree
make.cross ARCH=sh

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

drivers/built-in.o: In function `driver_bound':
>> drivers/base/dd.c:198: undefined reference to `device_check_pm_callbacks'
drivers/built-in.o: In function `__device_release_driver':
drivers/base/dd.c:676: undefined reference to `device_check_pm_callbacks'

vim +198 drivers/base/dd.c

d1c3414c2 Grant Likely 2012-03-05 192 }
d1c3414c2 Grant Likely 2012-03-05 193 late_initcall(deferred_probe_initcall);
07e4a3e27 Patrick Mochel 2005-03-21 194
1901fb260 Kay Sievers 2006-10-07 195 static void driver_bound(struct device *dev)
07e4a3e27 Patrick Mochel 2005-03-21 196 {
8940b4f31 Greg Kroah-Hartman 2008-12-16 197 if (klist_node_attached(&dev->p->knode_driver)) {
f86db396f Andrew Morton 2006-08-14 @198 printk(KERN_WARNING "%s: device %s already bound\n",
2b3a302a0 Harvey Harrison 2008-03-04 199 __func__, kobject_name(&dev->kobj));
1901fb260 Kay Sievers 2006-10-07 200 return;
f86db396f Andrew Morton 2006-08-14 201 }

:::::: The code at line 198 was first introduced by commit
:::::: f86db396ff455ed586751d21816a1ebd431264e5 drivers/base: check errors

:::::: TO: Andrew Morton <akpm@xxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data