Hi Oscar, kernel test robot noticed the following build warnings: [auto build test WARNING on akpm-mm/mm-everything] [also build test WARNING on linus/master v6.7-rc2 next-20231120] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Oscar-Salvador/lib-stackdepot-Add-a-refcount-field-in-stack_record/20231120-164913 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20231120084300.4368-5-osalvador%40suse.de patch subject: [PATCH v6 4/4] mm,page_owner: Filter out stacks by a threshold counter config: arm-randconfig-001-20231120 (https://download.01.org/0day-ci/archive/20231120/202311202220.b6pHpn7J-lkp@xxxxxxxxx/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231120/202311202220.b6pHpn7J-lkp@xxxxxxxxx/reproduce) 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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202311202220.b6pHpn7J-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> mm/page_owner.c:819:5: warning: no previous prototype for function 'page_owner_threshold_get' [-Wmissing-prototypes] 819 | int page_owner_threshold_get(void *data, u64 *val) | ^ mm/page_owner.c:819:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 819 | int page_owner_threshold_get(void *data, u64 *val) | ^ | static >> mm/page_owner.c:825:5: warning: no previous prototype for function 'page_owner_threshold_set' [-Wmissing-prototypes] 825 | int page_owner_threshold_set(void *data, u64 val) | ^ mm/page_owner.c:825:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 825 | int page_owner_threshold_set(void *data, u64 val) | ^ | static 2 warnings generated. vim +/page_owner_threshold_get +819 mm/page_owner.c 818 > 819 int page_owner_threshold_get(void *data, u64 *val) 820 { 821 *val = page_owner_stack_threshold; 822 return 0; 823 } 824 > 825 int page_owner_threshold_set(void *data, u64 val) 826 { 827 page_owner_stack_threshold = val; 828 return 0; 829 } 830 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki