tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: d4a0ae62a277377de396850ed4b709b6bd9b7326 commit: e1345552730700c6b405d20acdfb92da77d0cdbf [6797/7915] kernel/fork: Use maple tree for dup_mmap() during forking config: arm-pcm027_defconfig (https://download.01.org/0day-ci/archive/20220224/202202241511.4YOktWCD-lkp@xxxxxxxxx/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e) 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 # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e1345552730700c6b405d20acdfb92da77d0cdbf 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 e1345552730700c6b405d20acdfb92da77d0cdbf # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): >> mm/mmap.c:754:6: warning: no previous prototype for function 'vma_store' [-Wmissing-prototypes] void vma_store(struct mm_struct *mm, struct vm_area_struct *vma) ^ mm/mmap.c:754:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void vma_store(struct mm_struct *mm, struct vm_area_struct *vma) ^ static 1 warning generated. vim +/vma_store +754 mm/mmap.c 37f4270132af31d Liam R. Howlett 2020-07-24 748 37f4270132af31d Liam R. Howlett 2020-07-24 749 /* 37f4270132af31d Liam R. Howlett 2020-07-24 750 * vma_store() - Store a given vm_area_struct in the maple tree. 37f4270132af31d Liam R. Howlett 2020-07-24 751 * @mm: The struct_mm 37f4270132af31d Liam R. Howlett 2020-07-24 752 * @vma: The vm_area_struct to store in the maple tree. 37f4270132af31d Liam R. Howlett 2020-07-24 753 */ 37f4270132af31d Liam R. Howlett 2020-07-24 @754 void vma_store(struct mm_struct *mm, struct vm_area_struct *vma) 37f4270132af31d Liam R. Howlett 2020-07-24 755 { 37f4270132af31d Liam R. Howlett 2020-07-24 756 MA_STATE(mas, &mm->mm_mt, 0, 0); 37f4270132af31d Liam R. Howlett 2020-07-24 757 37f4270132af31d Liam R. Howlett 2020-07-24 758 trace_vma_store(vma->vm_mm, vma); 37f4270132af31d Liam R. Howlett 2020-07-24 759 vma_mas_store(vma, &mas); 37f4270132af31d Liam R. Howlett 2020-07-24 760 } 37f4270132af31d Liam R. Howlett 2020-07-24 761 :::::: The code at line 754 was first introduced by commit :::::: 37f4270132af31dd08a209799d420f72bfddb49c mm: Start tracking VMAs with maple tree :::::: TO: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx> :::::: CC: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx