Subject: linux-next: build warnings after merge of the akpm-current tree

From: Stephen Rothwell <[email-masked]>
Date: Tue, 6 Oct 2020 23:05:16 +1100

Hi all,

After merging the akpm-current tree, today's linux-next build (sparc
defconfig) produced this warning:

mm/memory.c: In function 'copy_present_page':
mm/memory.c:800:20: warning: unused variable 'dst_mm' [-Wunused-variable]
  struct mm_struct *dst_mm = dst_vma->vm_mm;
                    ^~~~~~
mm/memory.c: In function 'copy_present_pte':
mm/memory.c:889:20: warning: unused variable 'dst_mm' [-Wunused-variable]
  struct mm_struct *dst_mm = dst_vma->vm_mm;
                    ^~~~~~

Maybe introduced by commit

  7e6cdccef3df ("mm-remove-src-dst-mm-parameter-in-copy_page_range-v2")

-- 
Cheers,
Stephen Rothwell