Re: [PATCH net-next] net/mlxfw: Use kzalloc for allocating only one thing
From: Ido Schimmel <hidden>
Date: 2020-12-30 10:51:09
Also in:
lkml
From: Ido Schimmel <hidden>
Date: 2020-12-30 10:51:09
Also in:
lkml
On Wed, Dec 30, 2020 at 04:18:35PM +0800, Zheng Yongjun wrote:
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 <redacted>
Reviewed-by: Ido Schimmel <idosch@nvidia.com> Thanks