aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLeon Romanovsky <[email protected]>2020-11-25 08:17:04 +0200
committerJason Gunthorpe <[email protected]>2020-11-26 15:49:05 -0400
commitd4b2d19dc53ecb5ef4fe79cc2d4b7ae3413b2604 (patch)
treed708da8f7f8294e0ec4ad8db0687a9eb828636bf /tools/perf/scripts/python
parentd0b7721c5e0d940a514fbff40b9d7bae92735f7a (diff)
RDMA/mlx5: Silence the overflow warning while building offset mask
Coverity reports "Potentially overflowing expression ..." warning, which is correct thing to complain from the compiler point of view, but this is not possible in the current code. Still, this is a small error as there are some future situations that might need to use a 32 bit offset. Use ULL so the calculation works up to 63. Fixes: b045db62f6f6 ("RDMA/mlx5: Use ib_umem_find_best_pgoff() for SRQ") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions