* Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote: > 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") Indeed - and this only triggers on HAVE_GENERIC_RCU_GUP. I've amended the commit. Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html