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

Michael Ellerman patch-notifications at ellerman.id.au
Fri May 25 11:59:11 AEST 2018


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 <christophe.leroy at c-s.fr>
> Signed-off-by: Mathieu Malaterre <malat at debian.org>
> Reviewed-by: Christophe Leroy <christophe.leroy at c-s.fr>

Applied to powerpc topic/ppc-kvm, thanks.

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

cheers


More information about the Linuxppc-dev mailing list