tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: e47eb90a0a9ae20b82635b9b99a8d0979b757ad8 commit: c21e4d92cbb920b50a809409bc56c6ca4f09e7bf [4318/4736] mm/swap: cache maximum swapfile size when init swap config: x86_64-randconfig-a005 (https://download.01.org/0day-ci/archive/20220903/202209030733.wJOuJq5j-lkp@xxxxxxxxx/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) 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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c21e4d92cbb920b50a809409bc56c6ca4f09e7bf git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout c21e4d92cbb920b50a809409bc56c6ca4f09e7bf # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/mm/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): >> arch/x86/mm/init.c:1057:15: warning: no previous prototype for function 'arch_max_swapfile_size' [-Wmissing-prototypes] unsigned long arch_max_swapfile_size(void) ^ arch/x86/mm/init.c:1057:1: note: declare 'static' if the function is not intended to be used outside of this translation unit unsigned long arch_max_swapfile_size(void) ^ static 1 warning generated. vim +/arch_max_swapfile_size +1057 arch/x86/mm/init.c 1055 1056 #ifdef CONFIG_SWAP > 1057 unsigned long arch_max_swapfile_size(void) -- 0-DAY CI Kernel Test Service https://01.org/lkp