On Tue, Dec 29, 2020 at 09:52:23PM +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 <[email protected]>
> ---
>  drivers/infiniband/core/rw.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

I applied this one and

 iw_cxgb4: Use kzalloc for allocating only one thing

Together as one commit to for-next, thanks

Jason

Reply via email to