[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 18 Oct 2022 22:04:12 +0000
From: Liam Howlett <liam.howlett@...cle.com>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: kernel test robot <lkp@...el.com>,
"ntfs3@...ts.linux.dev" <ntfs3@...ts.linux.dev>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"jfs-discussion@...ts.sourceforge.net"
<jfs-discussion@...ts.sourceforge.net>
Subject: Re: [linux-next:master] BUILD REGRESSION
4ca786ae6681b90b0ec3f4c55c89d12f835f8944
* Andrew Morton <akpm@...ux-foundation.org> [221018 17:02]:
> On Tue, 18 Oct 2022 23:45:39 +0800 kernel test robot <lkp@...el.com> 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;
> _
>
>
Powered by blists - more mailing lists