Re: [PATCH] firmware: arm_scmi: Fix incorrect error propagation

From: Sudeep Holla
Date: Tue Jun 14 2022 - 06:16:52 EST


On Fri, 10 Jun 2022 16:00:55 +0200, Ludvig Pärsson wrote:
> scmi_voltage_descriptors_get() will incorrecly return an
> error code if the last iteration of the for loop that
> retrieves the descriptors is skipped due to an error.
> Skipping an iteration in the loop is not an error, but
> the `ret` value from the last iteration will be
> propagated when the function returns.
>
> [...]

Applied to sudeep.holla/linux (for-next/scmi), thanks!

[1/1] firmware: arm_scmi: Fix incorrect error propagation
https://git.kernel.org/sudeep.holla/c/44dbdf3bb3
--
Regards,
Sudeep