The patch titled Subject: mm/hugetlb: Initialize page to NULL in alloc_buddy_huge_page_with_mpol() has been removed from the -mm tree. Its filename was mm-hugetlb-add-support-for-mempolicy-mpol_preferred_many-fix-fix.patch This patch was dropped because it was folded into mm-hugetlb-add-support-for-mempolicy-mpol_preferred_many.patch ------------------------------------------------------ From: Nathan Chancellor <nathan@xxxxxxxxxx> Subject: mm/hugetlb: Initialize page to NULL in alloc_buddy_huge_page_with_mpol() Clang warns: mm/hugetlb.c:2162:6: warning: variable 'page' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (mpol_is_preferred_many(mpol)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mm/hugetlb.c:2172:7: note: uninitialized use occurs here if (!page) ^~~~ mm/hugetlb.c:2162:2: note: remove the 'if' if its condition is always true if (mpol_is_preferred_many(mpol)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mm/hugetlb.c:2155:19: note: initialize the variable 'page' to silence this warning struct page *page; ^ = NULL 1 warning generated. Initialize page to NULL like in dequeue_huge_page_vma() so that page is not used uninitialized. Link: https://lkml.kernel.org/r/20210810200632.3812797-1-nathan@xxxxxxxxxx Signed-off-by: Nathan Chancellor <nathan@xxxxxxxxxx> Cc: Mike Kravetz <mike.kravetz@xxxxxxxxxx> Cc: Feng Tang <feng.tang@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/hugetlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/hugetlb.c~mm-hugetlb-add-support-for-mempolicy-mpol_preferred_many-fix-fix +++ a/mm/hugetlb.c @@ -2152,7 +2152,7 @@ static struct page *alloc_buddy_huge_page_with_mpol(struct hstate *h, struct vm_area_struct *vma, unsigned long addr) { - struct page *page; + struct page *page = NULL; struct mempolicy *mpol; gfp_t gfp_mask = htlb_alloc_mask(h); int nid; _ Patches currently in -mm which might be from nathan@xxxxxxxxxx are mm-hugetlb-add-support-for-mempolicy-mpol_preferred_many.patch maintainers-update-clangbuiltlinux-mailing-list.patch documentation-llvm-update-mailing-list.patch documentation-llvm-update-irc-location.patch