diff options
author | Mathieu Malaterre <malat@debian.org> | 2018-03-28 21:58:11 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-05-17 14:12:40 +1000 |
commit | 9f9eae5ce717f497812dfc1bda5219bc589b455d (patch) | |
tree | f4bc1f87a21c66e8ae59fddba41c849b33fba959 /kernel/events/uprobes.c | |
parent | 0078778a86b14f85bf50e96d9ddeb3b70b55805d (diff) | |
download | linux-9f9eae5ce717f497812dfc1bda5219bc589b455d.tar.gz linux-9f9eae5ce717f497812dfc1bda5219bc589b455d.tar.bz2 linux-9f9eae5ce717f497812dfc1bda5219bc589b455d.zip |
powerpc/kvm: Prefer fault_in_pages_readable function
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@c-s.fr>
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'kernel/events/uprobes.c')
0 files changed, 0 insertions, 0 deletions