[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YV1armPsHlgi3DgW@unreal>
Date: Wed, 6 Oct 2021 11:13:34 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Shunsuke Mie <mie@...l.co.jp>
Cc: Zhu Yanjun <zyjzyj2000@...il.com>,
Doug Ledford <dledford@...hat.com>,
Jason Gunthorpe <jgg@...pe.ca>, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Provider/rxe: Allocate rxe/ib objs by calloc
On Thu, Sep 30, 2021 at 08:35:27PM +0900, Shunsuke Mie wrote:
> Some rxe/ib objects are allocated by malloc() and initialize manually
> respectively. To prevent a bug caused by memory uninitialization, this
> patch change to use calloc().
>
> Signed-off-by: Shunsuke Mie <mie@...l.co.jp>
> ---
> providers/rxe/rxe.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
Thanks, applied.
Powered by blists - more mailing lists