Hi Daniel,
I love your patch! Perhaps something to improve:
[auto build test WARNING on pm/linux-next] [also build test WARNING on shawnguo/for-next linux/master linus/master v5.8-rc2 next-20200623] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Daniel-Baluta/Introduce-multi-PM-do... base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next config: i386-tinyconfig (attached as .config) compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 reproduce (this is a W=1 build): # save the attached .config to linux build tree make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot lkp@intel.com
All warnings (new ones prefixed by >>):
In file included from drivers/base/platform.c:23:
include/linux/pm_domain.h:395:34: warning: no previous prototype for 'dev_multi_pm_attach' [-Wmissing-prototypes]
395 | struct dev_multi_pm_domain_data *dev_multi_pm_attach(struct device *dev) | ^~~~~~~~~~~~~~~~~~~
include/linux/pm_domain.h:416:6: warning: no previous prototype for 'dev_multi_pm_detach' [-Wmissing-prototypes]
416 | void dev_multi_pm_detach(struct dev_multi_pm_domain_data *mpd) {} | ^~~~~~~~~~~~~~~~~~~ drivers/base/platform.c:1352:20: warning: no previous prototype for 'early_platform_cleanup' [-Wmissing-prototypes] 1352 | void __weak __init early_platform_cleanup(void) { } | ^~~~~~~~~~~~~~~~~~~~~~
vim +/dev_multi_pm_attach +395 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@lists.01.org