[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20210105.160128.1507085075662342045.davem@davemloft.net>
Date: Tue, 05 Jan 2021 16:01:28 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: zhengyongjun3@...wei.com
Cc: kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, mlxsw@...dia.com
Subject: Re: [PATCH net-next] net/mlxfw: Use kzalloc for allocating only
one thing
From: Zheng Yongjun <zhengyongjun3@...wei.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@...wei.com>
Applied.
Powered by blists - more mailing lists