tree:
git://git.linaro.org/people/ulf.hansson/linux-pm.git
cpuidle_psci_to_driver+genpd_onoff_notify
head: e5f65ec625134fe268aa703e5b34d436eab4e0a0
commit: e5f65ec625134fe268aa703e5b34d436eab4e0a0 [7/7] PM / Domains: Add support for genpd
on/off notifiers for specific devices
config: x86_64-randconfig-a016-20200617 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
git checkout e5f65ec625134fe268aa703e5b34d436eab4e0a0
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
In file included from drivers/gpu/drm/i915/selftests/mock_gem_device.c:25:0,
from drivers/gpu/drm/i915/i915_gem.c:1330:
include/linux/pm_domain.h:265:1: error: expected identifier or '(' before
'{' token
{
^
> include/linux/pm_domain.h:263:19: error:
'dev_pm_genpd_add_notifier' declared 'static' but never defined
[-Werror=unused-function]
static inline int dev_pm_genpd_add_notifier(struct device
*dev,
^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +263 include/linux/pm_domain.h
262
263 static inline int dev_pm_genpd_add_notifier(struct device *dev,
264 struct notifier_block *nb);
265 {
266 return -ENOTSUPP;
267 }
268
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org