Hi Yoshihiro, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on renesas-devel/next] [also build test ERROR on regulator/for-next v5.8-rc2 next-20200626] [cannot apply to ulf.hansson-mmc/next] [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/Yoshihiro-Shimoda/treewide-add-regulator-condition-on-_mmc_suspend/20200626-173437 base: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel.git next config: arc-allyesconfig (attached as .config) compiler: arc-elf-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 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/regulator/core.c:3805:5: warning: no previous prototype for 'regulator_suspend_enable' [-Wmissing-prototypes] 3805 | int regulator_suspend_enable(struct regulator_dev *rdev, | ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/regulator/core.c:3812:5: warning: no previous prototype for 'regulator_suspend_disable' [-Wmissing-prototypes] 3812 | int regulator_suspend_disable(struct regulator_dev *rdev, | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/regulator/core.c:3851:5: warning: no previous prototype for 'regulator_set_suspend_voltage' [-Wmissing-prototypes] 3851 | int regulator_set_suspend_voltage(struct regulator *regulator, int min_uV, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/regulator/core.c:5379:13: error: 'regulator_prepare' undeclared here (not in a function); did you mean 'regulator_resume'? 5379 | .prepare = regulator_prepare, | ^~~~~~~~~~~~~~~~~ | regulator_resume >> drivers/regulator/core.c:5380:18: error: 'regulator_resume_early' undeclared here (not in a function); did you mean 'regulator_resume'? 5380 | .resume_early = regulator_resume_early, | ^~~~~~~~~~~~~~~~~~~~~~ | regulator_resume In file included from include/linux/perf_event.h:25, from include/linux/trace_events.h:10, from include/trace/trace_events.h:21, from include/trace/define_trace.h:102, from include/trace/events/regulator.h:174, from drivers/regulator/core.c:31: arch/arc/include/asm/perf_event.h:126:23: warning: 'arc_pmu_cache_map' defined but not used [-Wunused-const-variable=] 126 | static const unsigned arc_pmu_cache_map[C(MAX)][C(OP_MAX)][C(RESULT_MAX)] = { | ^~~~~~~~~~~~~~~~~ arch/arc/include/asm/perf_event.h:91:27: warning: 'arc_pmu_ev_hw_map' defined but not used [-Wunused-const-variable=] 91 | static const char * const arc_pmu_ev_hw_map[] = { | ^~~~~~~~~~~~~~~~~ vim +5379 drivers/regulator/core.c 5376 5377 #ifdef CONFIG_PM 5378 static const struct dev_pm_ops __maybe_unused regulator_pm_ops = { > 5379 .prepare = regulator_prepare, > 5380 .resume_early = regulator_resume_early, 5381 .suspend = regulator_suspend, 5382 .resume = regulator_resume, 5383 }; 5384 #endif 5385 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org