linux/drivers/net/ethernet/mellanox/mlxfw
Zheng Yongjun 8407b23199 net/mlxfw: Use kzalloc for allocating only one thing
Use kzalloc rather than kcalloc(1,...)

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
@@

- kcalloc(1,
+ kzalloc(
          ...)
// </smpl>

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-01-05 16:01:02 -08:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mlxfw_fsm.c devlink: move flash end and begin to core devlink 2020-11-19 21:41:02 -08:00
mlxfw_mfa2_file.h mlxfw: Replace license text with SPDX identifiers and adjust copyrights 2019-01-24 22:34:03 -08:00
mlxfw_mfa2_format.h mlxfw: Replace license text with SPDX identifiers and adjust copyrights 2019-01-24 22:34:03 -08:00
mlxfw_mfa2_tlv_multi.c mlxfw: Replace license text with SPDX identifiers and adjust copyrights 2019-01-24 22:34:03 -08:00
mlxfw_mfa2_tlv_multi.h mlxfw: Replace license text with SPDX identifiers and adjust copyrights 2019-01-24 22:34:03 -08:00
mlxfw_mfa2_tlv.h net: mlxfw: Replace zero-length array with flexible-array member 2020-03-03 17:39:19 -08:00
mlxfw_mfa2.c net/mlxfw: Use kzalloc for allocating only one thing 2021-01-05 16:01:02 -08:00
mlxfw_mfa2.h mlxfw: Replace license text with SPDX identifiers and adjust copyrights 2019-01-24 22:34:03 -08:00
mlxfw.h net/mlxfw: Add reactivate flow support to FSM burn flow 2020-02-21 15:41:10 -08:00