Hi Mike, I love your patch! Perhaps something to improve: [auto build test WARNING on akpm-mm/mm-everything] [also build test WARNING on next-20221004] [cannot apply to linus/master v6.0] [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/Mike-Kravetz/hugetlb-fixes-for-new-vma-lock-series/20221005-091913 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything config: i386-randconfig-a003-20221003 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://github.com/intel-lab-lkp/linux/commit/49523e6ee01b312c4eebea201b3ac31836fb1227 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Mike-Kravetz/hugetlb-fixes-for-new-vma-lock-series/20221005-091913 git checkout 49523e6ee01b312c4eebea201b3ac31836fb1227 # 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=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> mm/hugetlb.c:6945:6: warning: no previous prototype for function '__hugetlb_vma_unlock_write_put' [-Wmissing-prototypes] void __hugetlb_vma_unlock_write_put(struct hugetlb_vma_lock *vma_lock) ^ mm/hugetlb.c:6945:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void __hugetlb_vma_unlock_write_put(struct hugetlb_vma_lock *vma_lock) ^ static 1 warning generated. vim +/__hugetlb_vma_unlock_write_put +6945 mm/hugetlb.c 6944 > 6945 void __hugetlb_vma_unlock_write_put(struct hugetlb_vma_lock *vma_lock) 6946 { 6947 struct vm_area_struct *vma = vma_lock->vma; 6948 6949 /* 6950 * vma_lock structure may or not be released as a result of put, 6951 * it certainly will no longer be attached to vma so clear pointer. 6952 * Semaphore synchronizes access to vma_lock->vma field. 6953 */ 6954 vma_lock->vma = NULL; 6955 vma->vm_private_data = NULL; 6956 up_write(&vma_lock->rw_sema); 6957 kref_put(&vma_lock->refs, hugetlb_vma_lock_release); 6958 } 6959 -- 0-DAY CI Kernel Test Service https://01.org/lkp