[PATCH] firmware: arm_scmi: Fix incorrect error propagation
Sudeep Holla
sudeep.holla at arm.com
Tue Jun 14 03:16:34 PDT 2022
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
More information about the linux-arm-kernel
mailing list