commit | 49915c0d2c9868e6f25e52e4d839943611b69e98 | [log] [tgz] |
---|---|---|
author | Alex Williamson <alex.williamson@redhat.com> | Tue Oct 22 14:08:28 2024 -0600 |
committer | Cédric Le Goater <clg@redhat.com> | Wed Oct 23 14:46:24 2024 +0200 |
tree | 8db3eb22f18d9193ca36941b9afc91d08d4e91e5 | |
parent | fa4e20defe239e42af0a1b5c030dec114f799f56 [diff] |
vfio/helpers: Refactor vfio_region_mmap() error handling Move error handling code to the end of the function so that it can more easily be shared by new mmap failure conditions. No functional change intended. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Cédric Le Goater <clg@redhat.com>