From: Leon Romanovsky Date: Mon, 01 Jun 2020 04:25:32 +0000 Subject: Re: [PATCH] RDMA/hns: Uninitialized variable in modify_qp_init_to_rtr() Message-Id: <20200601042532.GB34024@unreal> List-Id: References: <20200529083918.GA1298465@mwanda> In-Reply-To: <20200529083918.GA1298465@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Lijun Ou , Xi Wang , "Wei Hu(Xavier)" , Weihang Li , Doug Ledford , Jason Gunthorpe , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org On Fri, May 29, 2020 at 11:39:18AM +0300, Dan Carpenter wrote: > The "dmac" variable is used before it is initialized. > > Fixes: 494c3b312255 ("RDMA/hns: Refactor the QP context filling process related to WQE buffer configure") > Signed-off-by: Dan Carpenter > --- > drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Thanks, Reviewed-by: Leon Romanovsky