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

Michael Ellerman mpe at ellerman.id.au
Sat Mar 17 01:08:49 AEDT 2018

Christophe LEROY <christophe.leroy at c-s.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


More information about the Linuxppc-dev mailing list