lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210107204910.GA938437@nvidia.com>
Date:   Thu, 7 Jan 2021 16:49:10 -0400
From:   Jason Gunthorpe <jgg@...dia.com>
To:     Zheng Yongjun <zhengyongjun3@...wei.com>
CC:     <linux-rdma@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        <dledford@...hat.com>
Subject: Re: [PATCH -next] RDMA/rw: Use kzalloc for allocating only one thing

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 <zhengyongjun3@...wei.com>
> ---
>  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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ