[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87tvtgglji.fsf@concordia.ellerman.id.au>
Date: Sat, 17 Mar 2018 01:08:49 +1100
From: Michael Ellerman <mpe@...erman.id.au>
To: Christophe LEROY <christophe.leroy@....fr>,
Mathieu Malaterre <malat@...ian.org>
Cc: linux-kernel@...r.kernel.org, Paul Mackerras <paulus@...ba.org>,
Jiri Slaby <jslaby@...e.com>, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH 04/21] powerpc: Mark both tmp variables as unused
Christophe LEROY <christophe.leroy@....fr> writes:
> Le 25/02/2018 à 18:22, Mathieu Malaterre a écrit :
>> Since the value of `tmp` is never intended to be read, declare both `tmp`
>> variables as unused. Fix warning (treated as error in W=1):
>
> What about using fault_in_pages_readable() instead ?
Yeah that looks like it would work.
I'd be happy to take a tested patch :D
cheers
Powered by blists - more mailing lists