diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2021-08-02 13:46:19 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2021-10-18 16:31:45 +0200 |
commit | 0c8eb2884a42d992c7726539328b7d3568f22143 (patch) | |
tree | 8bbeb387b5d3c11f08f36a29eb4ec47ff87a29f0 /lib | |
parent | 814a66741b9ffb5e1ba119e368b178edb0b7322d (diff) |
powerpc/kvm: Fix kvm_use_magic_page
When switching from __get_user to fault_in_pages_readable, commit
9f9eae5ce717 broke kvm_use_magic_page: like __get_user,
fault_in_pages_readable returns 0 on success.
Fixes: 9f9eae5ce717 ("powerpc/kvm: Prefer fault_in_pages_readable function")
Cc: stable@vger.kernel.org # v4.18+
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions