1
0
mirror of https://github.com/torvalds/linux.git synced 2024-12-14 15:13:52 +00:00
linux/drivers/infiniband/hw
Leon Romanovsky d4b2d19dc5 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: b045db62f6 ("RDMA/mlx5: Use ib_umem_find_best_pgoff() for SRQ")
Link: https://lore.kernel.org/r/20201125061704.6580-1-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-11-26 15:49:05 -04:00
..
bnxt_re RDMA/bnxt_re: Fix entry size during SRQ create 2020-10-27 14:12:26 -03:00
cxgb4 RDMA/cxgb4: Validate the number of CQEs 2020-11-23 16:19:46 -04:00
efa RDMA/efa: Remove .create_ah callback assignment 2020-11-16 16:50:30 -04:00
hfi1 IB/hfi1: Fix fall-through warnings for Clang 2020-11-23 15:54:10 -04:00
hns RDMA/hns: Add UD support for HIP09 2020-11-26 15:24:48 -04:00
i40iw RDMA/i40iw: Constify ops structs 2020-11-23 16:30:17 -04:00
mlx4 RDMA/mlx4: Enable querying AH for XRC QP types 2020-11-26 11:58:19 -04:00
mlx5 RDMA/mlx5: Silence the overflow warning while building offset mask 2020-11-26 15:49:05 -04:00
mthca RDMa/mthca: Work around -Wenum-conversion warning 2020-11-12 12:47:21 -04:00
ocrdma RDMA: Convert sysfs device * show functions to use sysfs_emit() 2020-10-26 19:53:21 -03:00
qedr IB/qedr: Fix fall-through warnings for Clang 2020-11-23 15:54:11 -04:00
qib IB/qib: Use dma_set_mask_and_coherent to simplify code 2020-11-23 16:37:20 -04:00
usnic RDMA: Convert various random sprintf sysfs _show uses to sysfs_emit 2020-10-30 21:03:52 -03:00
vmw_pvrdma Merge branch 'for-rc' into rdma.git 2020-11-17 15:20:26 -04:00
Makefile RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel 2019-10-04 15:08:59 -03:00