Re: linux-next: Tree for Jun 3 (mm/memory-failure.c)

From: Randy Dunlap
Date: Fri Jun 03 2022 - 12:21:42 EST




On 6/2/22 21:49, Stephen Rothwell wrote:
> Hi all,
>
> Note: please do not add any v5.20 material to your linux-next included
> branches until after v5.19-rc1 has been related.
>
> Changes since 20220602:
>

on i386 or x86_64:

../mm/memory-failure.c: In function ‘__get_huge_page_for_hwpoison’:
../mm/memory-failure.c:1545:2: error: implicit declaration of function ‘hugetlb_set_page_hwpoison’; did you mean ‘hugetlb_page_subpool’? [-Werror=implicit-function-declaration]
hugetlb_set_page_hwpoison(head, page);


when CONFIG_HUGETLB_PAGE is not set.
The inline function hugetlb_set_page_hwpoison() is only defined
when CONFIG_HUGETLB_PAGE is set.


--
~Randy