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

2018-03-16 Thread Michael Ellerman
Christophe LEROY 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

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

2018-03-14 Thread Christophe LEROY
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 ? Christophe CC arch/powerpc/kernel/signal_32