The patch titled Subject: memory-tier-dax-kmem-introduce-an-abstract-layer-for-finding-allocating-and-putting-memory-types-fix has been added to the -mm mm-unstable branch. Its filename is memory-tier-dax-kmem-introduce-an-abstract-layer-for-finding-allocating-and-putting-memory-types-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/memory-tier-dax-kmem-introduce-an-abstract-layer-for-finding-allocating-and-putting-memory-types-fix.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: SeongJae Park <sj@xxxxxxxxxx> Subject: memory-tier-dax-kmem-introduce-an-abstract-layer-for-finding-allocating-and-putting-memory-types-fix Date: Sun, 31 Mar 2024 12:08:57 -0700 fix build error Link: https://lkml.kernel.org/r/20240331190857.132490-1-sj@xxxxxxxxxx Signed-off-by: SeongJae Park <sj@xxxxxxxxxx> Cc: "Ho-Ren (Jack) Chuang" <horenchuang@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/memory-tiers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/include/linux/memory-tiers.h~memory-tier-dax-kmem-introduce-an-abstract-layer-for-finding-allocating-and-putting-memory-types-fix +++ a/include/linux/memory-tiers.h @@ -140,12 +140,12 @@ static inline int mt_perf_to_adistance(s return -EIO; } -struct memory_dev_type *mt_find_alloc_memory_type(int adist, struct list_head *memory_types) +static inline struct memory_dev_type *mt_find_alloc_memory_type(int adist, struct list_head *memory_types) { return NULL; } -void mt_put_memory_types(struct list_head *memory_types) +static inline void mt_put_memory_types(struct list_head *memory_types) { } _ Patches currently in -mm which might be from sj@xxxxxxxxxx are memory-tier-dax-kmem-introduce-an-abstract-layer-for-finding-allocating-and-putting-memory-types-fix.patch