Hi Daniel, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on pm/linux-next] [also build test ERROR on shawnguo/for-next pavel-linux-leds/for-next v5.6-rc4 next-20200302] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Daniel-Baluta/Introduce-multi-PM-domains-helpers/20200303-050542 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next config: openrisc-randconfig-a001-20200302 (attached as .config) compiler: or1k-linux-gcc (GCC) 9.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree GCC_VERSION=9.2.0 make.cross ARCH=openrisc If you fix the issue, kindly add following tag Reported-by: kbuild test robot All errors (new ones prefixed by >>): or1k-linux-ld: drivers/opp/core.o: in function `dev_multi_pm_attach': >> include/linux/pm_domain.h:396: multiple definition of `dev_multi_pm_attach'; drivers/base/platform.o:include/linux/pm_domain.h:396: first defined here or1k-linux-ld: drivers/opp/core.o: in function `dev_multi_pm_detach': >> include/linux/pm_domain.h:416: multiple definition of `dev_multi_pm_detach'; drivers/base/platform.o:include/linux/pm_domain.h:416: first defined here or1k-linux-ld: drivers/opp/of.o: in function `dev_multi_pm_attach': >> include/linux/pm_domain.h:396: multiple definition of `dev_multi_pm_attach'; drivers/base/platform.o:include/linux/pm_domain.h:396: first defined here or1k-linux-ld: drivers/opp/of.o: in function `dev_multi_pm_detach': >> include/linux/pm_domain.h:416: multiple definition of `dev_multi_pm_detach'; drivers/base/platform.o:include/linux/pm_domain.h:416: first defined here vim +396 include/linux/pm_domain.h 394 395 struct dev_multi_pm_domain_data *dev_multi_pm_attach(struct device *dev) > 396 { 397 return NULL; 398 } 399 400 static inline struct device *dev_pm_domain_attach_by_id(struct device *dev, 401 unsigned int index) 402 { 403 return NULL; 404 } 405 static inline struct device *dev_pm_domain_attach_by_name(struct device *dev, 406 const char *name) 407 { 408 return NULL; 409 } 410 static inline void dev_pm_domain_detach(struct device *dev, bool power_off) {} 411 static inline int dev_pm_domain_start(struct device *dev) 412 { 413 return 0; 414 } 415 > 416 void dev_multi_pm_detach(struct dev_multi_pm_domain_data *mpd) {} 417 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org