[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210301184931.GA746241@nvidia.com>
Date: Mon, 1 Mar 2021 14:49:31 -0400
From: Jason Gunthorpe <jgg@...dia.com>
To: YueHaibing <yuehaibing@...wei.com>
CC: <leon@...nel.org>, <dledford@...hat.com>, <yishaih@...dia.com>,
<linux-rdma@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 -next] IB/mlx5: Add missing error code
On Mon, Feb 22, 2021 at 08:23:43PM +0800, YueHaibing wrote:
> Set err to -ENOMEM if kzalloc fails instead of 0.
>
> Fixes: 759738537142 ("IB/mlx5: Enable subscription for device events over DEVX")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> Acked-by: Leon Romanovsky <leonro@...dia.com>
> ---
> drivers/infiniband/hw/mlx5/devx.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Applied to for-rc, thanks
Jason
Powered by blists - more mailing lists