linux-next: build failure after merge of the mm tree

From: Stephen Rothwell
Date: Tue Nov 01 2022 - 23:56:14 EST


Hi all,

After merging the mm tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

mm/migrate.c: In function 'unmap_and_move_huge_page':
mm/migrate.c:1315:13: error: implicit declaration of function 'hugetlb_folio_subpool'; did you mean 'hugetlb_page_subpool'? [-Werror=implicit-function-declaration]
1315 | if (hugetlb_folio_subpool(src) && !folio_mapping(src)) {
| ^~~~~~~~~~~~~~~~~~~~~
| hugetlb_page_subpool
cc1: some warnings being treated as errors

Caused by commit

fa7dc4d80445 ("mm/hugetlb: convert move_hugetlb_state() to folios")

This build does *not* have CONFIG_HUGETLB_PAGE set.

I have reverted that commit for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpv8JJOug7M6.pgp
Description: OpenPGP digital signature