diff options
author | Eli Cohen <[email protected]> | 2021-05-30 12:03:49 +0300 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2021-07-03 04:50:56 -0400 |
commit | 71ab6a7cfbae27f86a3901daab10bfe13b3a1e3a (patch) | |
tree | 3b5047ad468376a7861eaf10170a6878b318a012 /scripts/gdb/linux/tasks.py | |
parent | e3011776af16caf423f2c36d0047acd624c274fa (diff) |
vdpa/mlx5: Fix possible failure in umem size calculation
umem size is a 32 bit unsigned value so assigning it to an int could
cause false failures. Set the calculated value inside the function and
modify function name to reflect the fact it updates the size.
This bug was found during code review but never had real impact to this
date.
Fixes: 1a86b377aa21 ("vdpa/mlx5: Add VDPA driver for supported mlx5 devices")
Signed-off-by: Eli Cohen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jason Wang <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions