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

2021-01-05 Thread Vinod Koul
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/) > > // > @@ > @@ > > - kcalloc(1, > + kzalloc( > ...) > // Applied, thanks -- ~Vinod

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

2020-12-29 Thread Zheng Yongjun
Use kzalloc rather than kcalloc(1,...) The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ @@ - kcalloc(1, + kzalloc( ...) // Signed-off-by: Zheng Yongjun --- drivers/soundwire/intel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d