Hi Yang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v6.2-rc8 next-20230214] [cannot apply to device-mapper-dm/for-next] [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/Yang-Shi/mm-page_alloc-add-API-for-bulk-allocator-with-callback/20230215-030305 patch link: https://lore.kernel.org/r/20230214190221.1156876-4-shy828301%40gmail.com patch subject: [v2 PATCH 3/5] mm: mempool: introduce page bulk allocator config: loongarch-randconfig-r006-20230212 (https://download.01.org/0day-ci/archive/20230215/202302151051.i9q3I0ia-lkp@xxxxxxxxx/config) compiler: loongarch64-linux-gcc (GCC) 12.1.0 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/ecf5ea78b27092c35d884fad653f53d599d9ddba git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Yang-Shi/mm-page_alloc-add-API-for-bulk-allocator-with-callback/20230215-030305 git checkout ecf5ea78b27092c35d884fad653f53d599d9ddba # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash drivers/scsi/snic/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Link: https://lore.kernel.org/oe-kbuild-all/202302151051.i9q3I0ia-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): In file included from drivers/scsi/snic/snic_scsi.c:4: >> include/linux/mempool.h:18:48: warning: 'struct page' declared inside parameter list will not be visible outside of this definition or declaration 18 | struct page **page_array, | ^~~~ include/linux/mempool.h:71:51: warning: 'struct page' declared inside parameter list will not be visible outside of this definition or declaration 71 | struct page **page_array); | ^~~~ include/linux/mempool.h:74:59: warning: 'struct page' declared inside parameter list will not be visible outside of this definition or declaration 74 | void (*cb)(struct page *, void *), | ^~~~ vim +18 include/linux/mempool.h 15 16 typedef unsigned int (mempool_alloc_pages_bulk_t)(gfp_t gfp_mask, 17 unsigned int nr, void *pool_data, > 18 struct page **page_array, 19 void (*cb)(struct page *, void *), 20 void *data); 21 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests