tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable head: de14d5f2a9ff2df737a01575ee95bc5a35f5853d commit: ca23b4d4cae5d32a9d22fb3c39550dcf43df83f9 [360/372] mm: swap: introduce swap_free_nr() for batched swap_free() config: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20240411/202404111723.YtET6RM5-lkp@xxxxxxxxx/config) compiler: or1k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240411/202404111723.YtET6RM5-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/202404111723.YtET6RM5-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): In file included from mm/filemap.c:23: >> include/linux/swap.h:565:6: warning: no previous prototype for 'swap_free_nr' [-Wmissing-prototypes] 565 | void swap_free_nr(swp_entry_t entry, int nr_pages) | ^~~~~~~~~~~~ -- In file included from mm/slub.c:14: >> include/linux/swap.h:565:6: warning: no previous prototype for 'swap_free_nr' [-Wmissing-prototypes] 565 | void swap_free_nr(swp_entry_t entry, int nr_pages) | ^~~~~~~~~~~~ mm/slub.c: In function 'slab_post_alloc_hook': mm/slub.c:3831:29: warning: variable 'obj_exts' set but not used [-Wunused-but-set-variable] 3831 | struct slabobj_ext *obj_exts; | ^~~~~~~~ vim +/swap_free_nr +565 include/linux/swap.h 564 > 565 void swap_free_nr(swp_entry_t entry, int nr_pages) 566 { 567 } 568 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki