Hi Dan, On Wed, Aug 11, 2021 at 04:06:00PM +0800, Dan Carpenter wrote: > [ I do a git show 2db9f815409f and it doesn't show that hugetlb.c was > modified but it the git log the merge commit is listed. I don't > know git well enough to explain it. But I think this was a merge > issue. - dan ] > > Hello Stephen Rothwell, > > The patch 2db9f815409f: "Merge branch 'akpm-current/current'" from > Aug 10, 2021, leads to the following > Smatch static checker warning: > > mm/hugetlb.c:2172 alloc_buddy_huge_page_with_mpol() > error: uninitialized symbol 'page'. > > mm/hugetlb.c > 2151 static > 2152 struct page *alloc_buddy_huge_page_with_mpol(struct hstate *h, > 2153 struct vm_area_struct *vma, unsigned long addr) > 2154 { > 2155 struct page *page; > > This should be "struct page *page = NULL;" Thanks for the report! This was also reported by Nathan Chancellor, who gave a quick fix: https://lore.kernel.org/lkml/20210810200632.3812797-1-nathan@xxxxxxxxxx/ and Andrew has taken it to the -mm tree. Sorry for the inconvenience. - Feng