Re: [PATCH 04/21] powerpc: Mark both tmp variables as unused

From: Michael Ellerman
Date: Fri Mar 16 2018 - 10:09:23 EST


Christophe LEROY <christophe.leroy@xxxxxx> 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