diff options
author | Yishai Hadas <yishaih@nvidia.com> | 2023-02-08 17:22:34 +0200 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2023-02-09 11:43:06 -0700 |
commit | ce06a7000f0e9ad1ea5f55129ed964a7888d6e1c (patch) | |
tree | e796e2629fda0cb43e65293399a4b905d6389849 /include/linux | |
parent | b0d2d5697e4c12589ef536b2a824f6549fdb2c01 (diff) | |
download | lwn-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