[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190212205623.GA26269@ziepe.ca>
Date: Tue, 12 Feb 2019 13:56:23 -0700
From: Jason Gunthorpe <jgg@...pe.ca>
To: Colin King <colin.king@...onical.com>
Cc: Leon Romanovsky <leonro@...lanox.com>,
Lijun Ou <oulijun@...wei.com>,
Wei Hu <xavier.huwei@...wei.com>,
Doug Ledford <dledford@...hat.com>, linux-rdma@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] RDMA: fix allocation failure on pointer pd
On Tue, Feb 12, 2019 at 11:22:33AM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The null check on an allocation failure on pd is currently checking
> if pd is non-null rather than null. Fix this by adding the missing !
> operator.
>
> Fixes: 21a428a019c9 ("RDMA: Handle PD allocations by IB/core")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> Reviewed-by: Leon Romanovsky <leonro@...lanox.com>
> ---
> drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks applied to for-next
Regards,
Jason
Powered by blists - more mailing lists