linux_dsm_epyc7002/drivers/infiniband/hw
Gustavo A. R. Silva 8e8aa14542 RDMA/mlx5: Replace kzalloc with kcalloc
Replace kzalloc() function with its 2-factor argument form, kcalloc().

This patch replaces cases of:

	kzalloc(a * b, gfp)

with:
	kcalloc(a, b, gfp)

This code was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-01-15 15:53:08 -07:00
..
bnxt_re RDMA/bnxt_re: fix a size calculation 2019-01-14 14:05:54 -07:00
cxgb3 RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
cxgb4 RDMA/iw_cxgb4: Fix the unchecked ep dereference 2019-01-15 15:51:46 -07:00
hfi1 RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
hns RDMA: Rename port_callback to init_port 2019-01-14 13:05:14 -07:00
i40iw RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
mlx4 RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
mlx5 RDMA/mlx5: Replace kzalloc with kcalloc 2019-01-15 15:53:08 -07:00
mthca RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
nes RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
ocrdma RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
qedr RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
qib RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
usnic RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
vmw_pvrdma RDMA: Rename port_callback to init_port 2019-01-14 13:05:14 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00