]> git.baikalelectronics.ru Git - kernel.git/commit
mm/mmap.c: __vma_adjust(): suppress uninitialized var warning
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Oct 2022 20:57:37 +0000 (13:57 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 21 Oct 2022 04:27:23 +0000 (21:27 -0700)
commit118c49cc52c7ebb7540457b8b53dadeb3124ddaa
treea17ce4b989ec61dcff82dc09885a80c255cadc21
parent8c37e6862a5205f7ac383a5e8a1670b2326b5f0f
mm/mmap.c: __vma_adjust(): suppress uninitialized var warning

The code is OK, but it fools gcc.

mm/mmap.c:802 __vma_adjust() error: uninitialized symbol 'next_next'.

Fixes: 0abb9d7b6cdc2 ("mm: remove rb tree.")
Reported-by: kernel test robot <lkp@intel.com>
Cc: Liam R. Howlett <Liam.Howlett@Oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mmap.c