* [akpm-mm:mm-unstable 153/301] mm/list_lru.c:110:1: error: unused function 'list_lru_from_kmem'
@ 2023-12-14 5:09 kernel test robot
2023-12-14 15:35 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2023-12-14 5:09 UTC (permalink / raw)
To: Nhat Pham
Cc: llvm, oe-kbuild-all, Andrew Morton, Linux Memory Management List
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@intel.com/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@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/202312141318.q8b5yrAq-lkp@intel.com/
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@bytedance.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [akpm-mm:mm-unstable 153/301] mm/list_lru.c:110:1: error: unused function 'list_lru_from_kmem'
2023-12-14 5:09 [akpm-mm:mm-unstable 153/301] mm/list_lru.c:110:1: error: unused function 'list_lru_from_kmem' kernel test robot
@ 2023-12-14 15:35 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2023-12-14 15:35 UTC (permalink / raw)
To: kernel test robot
Cc: Nhat Pham, llvm, oe-kbuild-all, Linux Memory Management List
On Thu, 14 Dec 2023 13:09:31 +0800 kernel test robot <lkp@intel.com> wrote:
> 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@intel.com/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@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/202312141318.q8b5yrAq-lkp@intel.com/
>
> 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.
Thanks, I queued a fix to remove that function.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-14 15:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-14 5:09 [akpm-mm:mm-unstable 153/301] mm/list_lru.c:110:1: error: unused function 'list_lru_from_kmem' kernel test robot
2023-12-14 15:35 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox