linux/drivers/infiniband
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
..
core RDMA/cma: Rollback source IP address if failing to acquire device 2019-01-14 15:28:26 -07:00
hw RDMA/mlx5: Replace kzalloc with kcalloc 2019-01-15 15:53:08 -07:00
sw RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
ulp IB/srp: Use struct_size() in kzalloc() 2019-01-08 15:46:59 -07:00
Kconfig IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs 2019-01-10 17:06:44 -07:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00