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

From: Stephen Rothwell
Date: Wed Jun 22 2022 - 01:54:18 EST


Hi all,

After merging the mm tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

mm/hugetlb.c: In function 'hugetlb_mask_last_page':
mm/hugetlb.c:6908:23: warning: unused variable 'hp_size' [-Wunused-variable]
6908 | unsigned long hp_size = huge_page_size(h);
| ^~~~~~~

Introduced by commit

76005bedbc32 ("hugetlb: do not update address in huge_pmd_unshare")

--
Cheers,
Stephen Rothwell

Attachment: pgpImsK6sZ8H6.pgp
Description: OpenPGP digital signature