linux_dsm_epyc7002/drivers/infiniband/hw
Colin Ian King 73c5265913 RDMA/bnxt_re: Fix sizeof mismatch for allocation of pbl_tbl.
An incorrect sizeof is being used, u64 * is not correct, it should be just
u64 for a table of umem_pgs number of u64 items in the pbl_tbl.  Use the
idiom sizeof(*pbl_tbl) to get the object type without the need to
explicitly use u64.

Link: https://lore.kernel.org/r/20201006114700.537916-1-colin.king@canonical.com
Addresses-Coverity: ("Sizeof not portable (SIZEOF_MISMATCH)")
Fixes: 1ac5a40479 ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-10-06 16:56:36 -03:00
..
bnxt_re RDMA/bnxt_re: Fix sizeof mismatch for allocation of pbl_tbl. 2020-10-06 16:56:36 -03:00
cxgb4 RDMA/iw_cxgb4: Disable delayed ack by default 2020-09-18 11:29:37 -03:00
efa RDMA/efa: Drop double zeroing for sg_init_table() 2020-09-22 20:26:47 -03:00
hfi1 Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00
hns RDMA/hns: Remove unused variables and definitions 2020-09-29 14:01:20 -03:00
i40iw RDMA/i40iw: Remove intermediate pointer that points to the same struct 2020-09-29 13:11:07 -03:00
mlx4 RDMA/drivers: Remove udata check from special QP 2020-09-29 13:11:06 -03:00
mlx5 RDMA/core: Modify enum ib_gid_type and enum rdma_network_type 2020-10-01 21:20:11 -03:00
mthca RDMA/mthca: Combine special QP struct with mthca QP 2020-09-29 13:11:07 -03:00
ocrdma Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00
qedr RDMA/core: Modify enum ib_gid_type and enum rdma_network_type 2020-10-01 21:20:11 -03:00
qib Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00
usnic RDMA: Allow fail of destroy CQ 2020-09-09 14:14:29 -03:00
vmw_pvrdma RDMA/drivers: Remove udata check from special QP 2020-09-29 13:11:06 -03:00
Makefile RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel 2019-10-04 15:08:59 -03:00