[akpm-mm:mm-unstable 262/270] include/linux/memory-tiers.h:143:25: warning: no previous prototype for 'mt_find_alloc_memory_type'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/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@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/202403311756.GDcbqLdZ-lkp@xxxxxxxxx/

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux