[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173064974755.148662.8075604022466705654.b4-ty@kernel.org>
Date: Sun, 03 Nov 2024 11:02:27 -0500
From: Leon Romanovsky <leon@...nel.org>
To: Selvin Xavier <selvin.xavier@...adcom.com>,
Jason Gunthorpe <jgg@...pe.ca>,
Kalesh AP <kalesh-anakkur.purayil@...adcom.com>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-rdma@...r.kernel.org
Subject: Re: [PATCH v2 1/2] RDMA/bnxt_re: Fix some error handling paths in
bnxt_re_probe()
On Fri, 01 Nov 2024 17:10:56 +0100, Christophe JAILLET wrote:
> If bnxt_re_add_device() fails, 'en_info' still needs to be freed, as
> already done in the .remove() function.
>
> The commit in Fixes incorrectly removed this call, certainly because it
> was expecting the .remove() function was called anyway. But if the probe
> fails, the remove function is not called.
>
> [...]
Applied, thanks!
[1/2] RDMA/bnxt_re: Fix some error handling paths in bnxt_re_probe()
https://git.kernel.org/rdma/rdma/c/cf90a4d1b9ff9e
[2/2] RDMA/bnxt_re: Remove some dead code
https://git.kernel.org/rdma/rdma/c/aceee63a3aba46
Best regards,
--
Leon Romanovsky <leon@...nel.org>
Powered by blists - more mailing lists