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.le...@c-s.fr> > Signed-off-by: Mathieu Malaterre <ma...@debian.org> > Reviewed-by: Christophe Leroy <christophe.le...@c-s.fr>
Applied to powerpc topic/ppc-kvm, thanks. https://git.kernel.org/powerpc/c/9f9eae5ce717f497812dfc1bda5219 cheers