[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160407084833.GA2288@gmail.com>
Date: Thu, 7 Apr 2016 10:48:33 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...e.hu>,
"H. Peter Anvin" <hpa@...or.com>,
Peter Zijlstra <peterz@...radead.org>,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: linux-next: build warning after merge of the tip tree
* Stephen Rothwell <sfr@...b.auug.org.au> 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
Powered by blists - more mailing lists