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: nios2-randconfig-r002-20200617 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout e5f65ec625134fe268aa703e5b34d436eab4e0a0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
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/tty/serdev/core.c:16:
> include/linux/pm_domain.h:265:1: error: expected identifier or
'(' before '{' token
265 | {
| ^
drivers/tty/serdev/core.c: In function 'serdev_controller_remove':
drivers/tty/serdev/core.c:791:6: warning: variable 'dummy' set but not used
[-Wunused-but-set-variable]
791 | int dummy;
| ^~~~~
In file included from drivers/tty/serdev/core.c:16:
drivers/tty/serdev/core.c: At top level:
include/linux/pm_domain.h:263:19: warning: 'dev_pm_genpd_add_notifier' declared
'static' but never defined [-Wunused-function]
263 | static inline int dev_pm_genpd_add_notifier(struct device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +265 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