Re: [PATCH -next] soundwire: intel: Use kzalloc for allocating only one thing

From: Vinod Koul
Date: Wed Jan 06 2021 - 01:01:14 EST


On 29-12-20, 21:50, 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>

Applied, thanks

--
~Vinod