linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Liam Howlett <liam.howlett@oracle.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: kernel test robot <lkp@intel.com>,
	"ntfs3@lists.linux.dev" <ntfs3@lists.linux.dev>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	"linux-ext4@vger.kernel.org" <linux-ext4@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"jfs-discussion@lists.sourceforge.net"
	<jfs-discussion@lists.sourceforge.net>
Subject: Re: [linux-next:master] BUILD REGRESSION 4ca786ae6681b90b0ec3f4c55c89d12f835f8944
Date: Tue, 18 Oct 2022 22:04:12 +0000	[thread overview]
Message-ID: <20221018220356.s5nxywee42mcxkyo@revolver> (raw)
In-Reply-To: <20221018140236.f55b76d77f5b872edf9bfdce@linux-foundation.org>

* Andrew Morton <akpm@linux-foundation.org> [221018 17:02]:
> On Tue, 18 Oct 2022 23:45:39 +0800 kernel test robot <lkp@intel.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;
> _
> 
> 

      reply	other threads:[~2022-10-18 22:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-18 15:45 kernel test robot
2022-10-18 21:02 ` Andrew Morton
2022-10-18 22:04   ` Liam Howlett [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221018220356.s5nxywee42mcxkyo@revolver \
    --to=liam.howlett@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=jfs-discussion@lists.sourceforge.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=ntfs3@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox