Thread (3 messages) 3 messages, 3 authors, 2021-01-06

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

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help