Files
android_kernel_xiaomi_sm8450/drivers/infiniband/hw/hfi1
Wang Yufen 7cbf2fc276 RDMA/hfi1: Fix error return code in parse_platform_config()
[ Upstream commit 725349f8ba1e78a146c6ff8f3ee5e2712e517106 ]

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.

Fixes: 97167e8134 ("staging/rdma/hfi1: Tune for unknown channel if configuration file is absent")
Signed-off-by: Wang Yufen <wangyufen@huawei.com>
Link: https://lore.kernel.org/r/1669953638-11747-1-git-send-email-wangyufen@huawei.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-14 10:15:53 +01:00
..
2019-06-28 22:34:26 -03:00
2019-06-28 22:34:26 -03:00
2021-12-14 11:32:34 +01:00
2021-12-14 11:32:34 +01:00
2018-05-24 09:39:25 -06:00
2022-02-08 18:30:36 +01:00
2020-05-21 11:23:56 -03:00
2020-07-24 16:59:55 -03:00
2020-05-21 11:23:56 -03:00
2020-05-21 11:23:56 -03:00
2020-05-21 11:23:56 -03:00
2019-02-05 18:07:43 -05:00
2019-04-24 11:31:49 -03:00
2020-07-24 16:59:55 -03:00
2020-07-24 16:59:55 -03:00
2019-03-28 11:03:49 -03:00
2019-11-27 07:44:25 +01:00
2019-11-27 07:44:25 +01:00
2019-01-31 11:37:40 -05:00
2020-07-24 16:59:55 -03:00
2022-04-08 14:40:19 +02:00
2019-12-09 10:36:44 -08:00
2019-07-30 14:21:32 -07:00
2020-05-21 11:23:56 -03:00