linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [akpm-mm:mm-unstable 262/270] include/linux/memory-tiers.h:143:25: warning: no previous prototype for 'mt_find_alloc_memory_type'
@ 2024-03-31  9:40 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-31  9:40 UTC (permalink / raw)
  To: Ho-Ren (Jack) Chuang
  Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List, Huang, Ying

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head:   0cef2c0a2a356137b170c3cb46cb9c1dd2ca3e6b
commit: 57fc2afac84efdb0968e028382023a937bb4d6a0 [262/270] memory tier: dax/kmem: introduce an abstract layer for finding, allocating, and putting memory types
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20240331/202403311756.GDcbqLdZ-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240331/202403311756.GDcbqLdZ-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/202403311756.GDcbqLdZ-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from kernel/sched/fair.c:43:
>> include/linux/memory-tiers.h:143:25: warning: no previous prototype for 'mt_find_alloc_memory_type' [-Wmissing-prototypes]
     143 | struct memory_dev_type *mt_find_alloc_memory_type(int adist, struct list_head *memory_types)
         |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
>> include/linux/memory-tiers.h:148:6: warning: no previous prototype for 'mt_put_memory_types' [-Wmissing-prototypes]
     148 | void mt_put_memory_types(struct list_head *memory_types)
         |      ^~~~~~~~~~~~~~~~~~~


vim +/mt_find_alloc_memory_type +143 include/linux/memory-tiers.h

   142	
 > 143	struct memory_dev_type *mt_find_alloc_memory_type(int adist, struct list_head *memory_types)
   144	{
   145		return NULL;
   146	}
   147	
 > 148	void mt_put_memory_types(struct list_head *memory_types)
   149	{
   150	

-- 
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-03-31  9:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-31  9:40 [akpm-mm:mm-unstable 262/270] include/linux/memory-tiers.h:143:25: warning: no previous prototype for 'mt_find_alloc_memory_type' 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