vfio/mlx5: Fix range size calculation upon tracker creation
Fix range size calculation to include the last byte of each range. In addition, log round up the length of the total ranges to be stricter. Fixes: c1d050b0 ("vfio/mlx5: Create and destroy page tracker object") Signed-off-by:Yishai Hadas <yishaih@nvidia.com> Link: https://lore.kernel.org/r/20230208152234.32370-1-yishaih@nvidia.comSigned-off-by:
Alex Williamson <alex.williamson@redhat.com>
Showing
Please register or sign in to comment