[akpm-mm:mm-unstable 153/301] mm/list_lru.c:110:1: error: unused function 'list_lru_from_kmem'

[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:   3ecae30dda241440417499d69ae90dfad517a932
commit: 0a97c01cd20bb96359d8c9dedad92a061ed34e0b [153/301] list_lru: allow explicit memcg and NUMA node selection
config: x86_64-sof-customedconfig-compile-test-defconfig (https://download.01.org/0day-ci/archive/20231214/202312141318.q8b5yrAq-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231214/202312141318.q8b5yrAq-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/202312141318.q8b5yrAq-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> mm/list_lru.c:110:1: error: unused function 'list_lru_from_kmem' [-Werror,-Wunused-function]
   list_lru_from_kmem(struct list_lru *lru, int nid, void *ptr,
   ^
   1 error generated.


vim +/list_lru_from_kmem +110 mm/list_lru.c

60d3fd32a7a9da Vladimir Davydov 2015-02-12  108  
60d3fd32a7a9da Vladimir Davydov 2015-02-12  109  static inline struct list_lru_one *
6a6b7b77cc0fdc Muchun Song      2022-03-22 @110  list_lru_from_kmem(struct list_lru *lru, int nid, void *ptr,
44bd4a4759d5a7 Kirill Tkhai     2018-08-17  111  		   struct mem_cgroup **memcg_ptr)
60d3fd32a7a9da Vladimir Davydov 2015-02-12  112  {
44bd4a4759d5a7 Kirill Tkhai     2018-08-17  113  	if (memcg_ptr)
44bd4a4759d5a7 Kirill Tkhai     2018-08-17  114  		*memcg_ptr = NULL;
6a6b7b77cc0fdc Muchun Song      2022-03-22  115  	return &lru->node[nid].lru;
60d3fd32a7a9da Vladimir Davydov 2015-02-12  116  }
84c07d11aa619c Kirill Tkhai     2018-08-17  117  #endif /* CONFIG_MEMCG_KMEM */
60d3fd32a7a9da Vladimir Davydov 2015-02-12  118  

:::::: The code at line 110 was first introduced by commit
:::::: 6a6b7b77cc0fdc13f50c66c219c8c05500a8dfce mm: list_lru: transpose the array of per-node per-memcg lru lists

:::::: TO: Muchun Song <songmuchun@xxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

-- 
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