Messages in this thread | | | From | Michael Ellerman <> | Subject | Re: [PATCH 04/21] powerpc: Mark both tmp variables as unused | Date | Sat, 17 Mar 2018 01:08:49 +1100 |
| |
Christophe LEROY <christophe.leroy@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
cheers
| |