linux-next: build warning after merge of the tip tree

From: Stephen Rothwell
Date: Thu Apr 07 2016 - 01:26:12 EST


Hi all,

After merging the tip tree, today's linux-next build (powerpc ppc44x_defconfig)
produced this warning:

mm/gup.c: In function 'get_user_pages_fast':
mm/gup.c:1510:20: warning: unused variable 'mm' [-Wunused-variable]
struct mm_struct *mm = current->mm;
^

Introduced by commit

dc8cfd957d85 ("mm/gup: Remove the macro overload API migration helpers from the get_user*() APIs")

--
Cheers,
Stephen Rothwell