tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: f5a62ec85c94fa9a6db1aa3393876184382841fb commit: 364de98eacea8dbfe4f926f62085aebf8534f403 [2597/2597] watchdog: Fix sleeping function called from atomic context config: x86_64-randconfig-123-20241225 (https://download.01.org/0day-ci/archive/20241226/202412260250.01PLQH8B-lkp@i...) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241226/202412260250.01PLQH8B-lkp@i...)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot lkp@intel.com | Closes: https://lore.kernel.org/oe-kbuild-all/202412260250.01PLQH8B-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
kernel/watchdog_hld.c:502:12: sparse: sparse: symbol '__hardlockup_detector_perf_init' was not declared. Should it be static?
vim +/__hardlockup_detector_perf_init +502 kernel/watchdog_hld.c
501
502 int __init __hardlockup_detector_perf_init(void *not_used)
503 { 504 int ret = hardlockup_detector_event_create(); 505 506 if (ret) { 507 pr_info("Perf NMI watchdog permanently disabled\n"); 508 } else { 509 perf_event_release_kernel(this_cpu_read(watchdog_ev)); 510 this_cpu_write(watchdog_ev, NULL); 511 } 512 return ret; 513 } 514