[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200519234712.GE30609@ziepe.ca>
Date: Tue, 19 May 2020 20:47:12 -0300
From: Jason Gunthorpe <jgg@...pe.ca>
To: "Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: Danil Kipnis <danil.kipnis@...ud.ionos.com>,
Jack Wang <jinpu.wang@...ud.ionos.com>,
Doug Ledford <dledford@...hat.com>,
Bart Van Assche <bvanassche@....org>,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>
Subject: Re: [PATCH v2] RDMA/rtrs: client: Fix function return on success
On Tue, May 19, 2020 at 11:36:12AM -0500, Gustavo A. R. Silva wrote:
> Remove the if-statement and return the value contained in _err_,
> unconditionally.
>
> Addresses-Coverity-ID: 1493753 ("Identical code for different branches")
> Fixes: 6a98d71daea1 ("RDMA/rtrs: client: main functionality")
> Signed-off-by: Gustavo A. R. Silva <gustavoars@...nel.org>
> Reviewed-by: Bart Van Assche <bvanassche@....org>
> ---
> Changes in v2:
> - Return err, unconditionally. As suggested by Bart Van Assche.
> Thanks, Bart.
Applied to for-next, thanks
Jason
Powered by blists - more mailing lists