summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@nvidia.com>2023-02-08 17:22:34 +0200
committerAlex Williamson <alex.williamson@redhat.com>2023-02-09 11:43:06 -0700
commitce06a7000f0e9ad1ea5f55129ed964a7888d6e1c (patch)
treee796e2629fda0cb43e65293399a4b905d6389849 /include/linux
parentb0d2d5697e4c12589ef536b2a824f6549fdb2c01 (diff)
downloadlwn-ce06a7000f0e9ad1ea5f55129ed964a7888d6e1c.tar.gz
lwn-ce06a7000f0e9ad1ea5f55129ed964a7888d6e1c.zip
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: c1d050b0d169 ("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.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions