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

From: Stephen Rothwell
Date: Tue Oct 06 2020 - 08:05:27 EST


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

Attachment: pgp0yNZhTDAps.pgp
Description: OpenPGP digital signature