* Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> [221018 17:02]: > On Tue, 18 Oct 2022 23:45:39 +0800 kernel test robot <lkp@xxxxxxxxx> wrote: > > > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > branch HEAD: 4ca786ae6681b90b0ec3f4c55c89d12f835f8944 Add linux-next specific files for 20221018 > > > > ... > > > > mm/mmap.c:802 __vma_adjust() error: uninitialized symbol 'next_next'. > > > > The code's OK but I guess we should make this warning go away. Agreed. It took a while to understand that this was a suggested way of fixing it and not the issue itself. I'll send out something shortly. > > --- a/mm/mmap.c~a > +++ a/mm/mmap.c > @@ -618,7 +618,8 @@ int __vma_adjust(struct vm_area_struct * > struct vm_area_struct *expand) > { > struct mm_struct *mm = vma->vm_mm; > - struct vm_area_struct *next_next, *next = find_vma(mm, vma->vm_end); > + struct vm_area_struct *next_next = NULL; /* uninit var warning */ > + struct vm_area_struct *next = find_vma(mm, vma->vm_end); > struct vm_area_struct *orig_vma = vma; > struct address_space *mapping = NULL; > struct rb_root_cached *root = NULL; > _ > >