tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: 5a1d9701155c6908c76c68951170f10279685143 commit: 2e1b00fcf1e3152a1e73846f5f9ec37cef088a65 [29758/30000] ACPI/HMAT: Add missing locality information for hot-added device config: x86_64-randconfig-076-20240913 (https://download.01.org/0day-ci/archive/20240913/202409131803.dBKueHy8-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/20240913/202409131803.dBKueHy8-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/202409131803.dBKueHy8-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/acpi/numa/hmat.c:726:6: warning: no previous prototype for 'hmat_restore_target' [-Wmissing-prototypes]
726 | void hmat_restore_target(int nid) | ^~~~~~~~~~~~~~~~~~~
vim +/hmat_restore_target +726 drivers/acpi/numa/hmat.c
725
726 void hmat_restore_target(int nid)
727 { 728 struct memory_target *target; 729 int pxm; 730 731 pxm = node_to_pxm(nid); 732 target = find_mem_target(pxm); 733 if (!target) 734 return; 735 736 mutex_lock(&target_lock); 737 hmat_register_target_cache(target); 738 hmat_register_target_perf(target, 0); 739 hmat_register_target_perf(target, 1); 740 mutex_unlock(&target_lock); 741 } 742