[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3d0354bc-e859-740a-f2d8-362604377f86@acm.org>
Date: Thu, 18 Jun 2020 07:03:52 -0700
From: Bart Van Assche <bvanassche@....org>
To: Jing Xiangfeng <jingxiangfeng@...wei.com>, dledford@...hat.com,
jgg@...pe.ca
Cc: linux-rdma@...r.kernel.org, target-devel@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH v3] IB/srpt: Remove WARN_ON from srpt_cm_req_recv
On 2020-06-17 07:08, Jing Xiangfeng wrote:
> The callers pass the pointer '&req' or 'private_data' to
> srpt_cm_req_recv(), and 'private_data' is initialized in srp_send_req().
> 'sdev' is allocated and stored in srpt_add_one(). It's easy to show that
> sdev and req are always valid. So we remove unnecessary WARN_ON.
Reviewed-by: Bart Van Assche <bvanassche@....org>
Powered by blists - more mailing lists