Re: [PATCH v2 -next] IB/mlx5: Add missing error code

From: Leon Romanovsky
Date: Mon Feb 22 2021 - 09:08:42 EST


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@xxxxxxxxxx>
> ---
> drivers/infiniband/hw/mlx5/devx.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>

Thanks,
Acked-by: Leon Romanovsky <leonro@xxxxxxxxxx>

And please don't send new version of patches as a reply-to, it is
annoying like hell.

Thanks