* [akpm-mm:mm-unstable 360/372] include/linux/swap.h:565:6: warning: no previous prototype for 'swap_free_nr'
@ 2024-04-11 9:25 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-11 9:25 UTC (permalink / raw)
To: Chuanhua Han
Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List, Barry Song
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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404111723.YtET6RM5-lkp@intel.com/
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-11 9:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-11 9:25 [akpm-mm:mm-unstable 360/372] include/linux/swap.h:565:6: warning: no previous prototype for 'swap_free_nr' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox