The quilt patch titled Subject: mm: pagewalk: add back missing variable initializations has been removed from the -mm tree. Its filename was mm-pagewalk-move-variables-to-more-local-scope-tweak-loops-fix.patch This patch was dropped because it was folded into mm-pagewalk-move-variables-to-more-local-scope-tweak-loops.patch ------------------------------------------------------ From: Rolf Eike Beer <eb@xxxxxxxxx> Subject: mm: pagewalk: add back missing variable initializations Date: Wed, 24 Aug 2022 13:00:11 +0200 These initializations accidentially got lost during refactoring. The first one can't actually be used without initialization, because walk_p4d_range() is only called when one of the 4 callbacks is set, but relying on this seems fragile. Link: https://lkml.kernel.org/r/2123960.ggj6I0NvhH@xxxxxxxxxxxxxxxxxxxxxx Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx> Reported-by: kernel test robot <lkp@xxxxxxxxx> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Signed-off-by: Rolf Eike Beer <eb@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/pagewalk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/pagewalk.c~mm-pagewalk-move-variables-to-more-local-scope-tweak-loops-fix +++ a/mm/pagewalk.c @@ -308,7 +308,7 @@ static int walk_hugetlb_range(unsigned l const struct mm_walk_ops *ops = walk->ops; for (; addr < end; addr = next) { - int err; + int err = 0; pte_t *pte = huge_pte_offset(walk->mm, addr & hmask, sz); next = hugetlb_entry_end(h, addr, end); _ Patches currently in -mm which might be from eb@xxxxxxxxx are mm-pagewalk-make-error-checks-more-obvious.patch mm-pagewalk-dont-check-vma-in-walk_page_range_novma.patch mm-pagewalk-fix-documentation-of-pte-hole-handling.patch mm-pagewalk-add-api-documentation-for-walk_page_range_novma.patch mm-pagewalk-allow-walk_page_range_novma-without-mm.patch mm-pagewalk-move-variables-to-more-local-scope-tweak-loops.patch