Subject: Re: [v2,04/19] powerpc/kvm: Prefer fault_in_pages_readable function

From: Michael Ellerman <[email-masked]>
Date: Fri, 25 May 2018 11:59:11 +1000 (AEST)

On Wed, 2018-03-28 at 19:58:11 UTC, Mathieu Malaterre wrote:
> Directly use fault_in_pages_readable instead of manual __get_user code. Fix
> warning treated as error with W=1:
> 
>   arch/powerpc/kernel/kvm.c:675:6: error: variable ‘tmp’ set but not used [-Werror=unused-but-set-variable]
> 
> Suggested-by: Christophe Leroy <[email-masked]>
> Signed-off-by: Mathieu Malaterre <[email-masked]>
> Reviewed-by: Christophe Leroy <[email-masked]>

Applied to powerpc topic/ppc-kvm, thanks.

https://git.kernel.org/powerpc/c/9f9eae5ce717f497812dfc1bda5219

cheers