Re: [PATCH v5 1/2] RDMA/hfi1: Fix error return code in parse_platform_config()

From: Leon Romanovsky
Date: Sun Dec 04 2022 - 08:28:24 EST


On Fri, 2 Dec 2022 12:00:37 +0800, Wang Yufen wrote:
> In the previous iteration of the while loop, the "ret" may have been
> assigned a value of 0, so the error return code -EINVAL may have been
> incorrectly set to 0. To fix set valid return code before calling to
> goto.
>
>

Applied, thanks!

[1/2] RDMA/hfi1: Fix error return code in parse_platform_config()
https://git.kernel.org/rdma/rdma/c/725349f8ba1e78
[2/2] RDMA/srp: Fix error return code in srp_parse_options()
https://git.kernel.org/rdma/rdma/c/ed461b30b22c8f

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>