Hi Laurent, Thank you for the patch! Yet something to improve:
[auto build test ERROR on powerpc/next] [also build test ERROR on linus/master v5.19-rc3 next-20220621] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Laurent-Dufour/Extending-NMI-watchdog-during-LPM/20220614-215716 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: powerpc-mgcoge_defconfig (https://download.01.org/0day-ci/archive/20220622/202206221732.aujj8kwm-...@intel.com/config) compiler: powerpc-linux-gcc (GCC) 11.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 # https://github.com/intel-lab-lkp/linux/commit/368bca30c0737461c2ed32a788293018c25fc9c7 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Laurent-Dufour/Extending-NMI-watchdog-during-LPM/20220614-215716 git checkout 368bca30c0737461c2ed32a788293018c25fc9c7 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/kernel/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <l...@intel.com> All errors (new ones prefixed by >>): In file included from arch/powerpc/kernel/traps.c:69: >> arch/powerpc/include/asm/nmi.h:11:13: error: 'watchdog_nmi_set_lpm_factor' >> defined but not used [-Werror=unused-function] 11 | static void watchdog_nmi_set_lpm_factor(u64 factor) {} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/watchdog_nmi_set_lpm_factor +11 arch/powerpc/include/asm/nmi.h 4 5 #ifdef CONFIG_PPC_WATCHDOG 6 extern void arch_touch_nmi_watchdog(void); 7 long soft_nmi_interrupt(struct pt_regs *regs); 8 void watchdog_nmi_set_lpm_factor(u64 factor); 9 #else 10 static inline void arch_touch_nmi_watchdog(void) {} > 11 static void watchdog_nmi_set_lpm_factor(u64 factor) {} 12 #endif 13 -- 0-DAY CI Kernel Test Service https://01.org/lkp