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

Stephen Rothwell
2022-06-22T05:54:16Z

[-- Attachment #1: Type: text/plain, Size: 477 bytes --]

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")