aboutsummaryrefslogtreecommitdiffstats
path: root/net/kcm
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2020-12-30 16:18:35 +0800
committerDavid S. Miller <davem@davemloft.net>2021-01-05 16:01:02 -0800
commit8407b23199b073249fd2056ec18d7cbb74a47534 (patch)
treeaf693e0a17426c0b3d4703acb9e3228ca84bbcc8 /net/kcm
parentMerge tag 'mlx5-updates-2021-01-05' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux (diff)
downloadlinux-dev-8407b23199b073249fd2056ec18d7cbb74a47534.tar.xz
linux-dev-8407b23199b073249fd2056ec18d7cbb74a47534.zip
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>
Diffstat (limited to 'net/kcm')
0 files changed, 0 insertions, 0 deletions