Messages in this thread | | | Date | Tue, 05 Jan 2021 16:01:28 -0800 (PST) | Subject | Re: [PATCH net-next] net/mlxfw: Use kzalloc for allocating only one thing | From | David Miller <> |
| |
From: Zheng Yongjun <zhengyongjun3@huawei.com> Date: Wed, 30 Dec 2020 16:18:35 +0800
> 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>
Applied.
| |