diff options
| author | Daniel Jordan <[email protected]> | 2021-02-19 16:13:03 +0000 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2021-02-22 23:30:44 +0000 |
| commit | be16c1fd99f41abebc0bf965d5d29cd18c9d271e (patch) | |
| tree | 248cdb9f78e14389a8a97d0156640d0a1ae546b6 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | vfio/type1: Use follow_pte() (diff) | |
| download | kernel-be16c1fd99f41abebc0bf965d5d29cd18c9d271e.tar.gz kernel-be16c1fd99f41abebc0bf965d5d29cd18c9d271e.zip | |
vfio/type1: Change success value of vaddr_get_pfn()
vaddr_get_pfn() simply returns 0 on success. Have it report the number
of pfns successfully gotten instead, whether from page pinning or
follow_fault_pfn(), which will be used later when batching pinning.
Change the last check in vfio_pin_pages_remote() for consistency with
the other two.
Signed-off-by: Daniel Jordan <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
