[PATCH] firmware: arm_scmi: Fix sorting of retrieved clock rates

Sudeep Holla sudeep.holla at arm.com
Tue Apr 5 07:32:48 PDT 2022


On Fri, 18 Mar 2022 09:28:13 +0000, Cristian Marussi wrote:
> During SCMI Clock protocol initialization, after having retrieved from the
> SCMI platform all the available discrete rates for a specific clock, the
> clock rates array is sorted, unfortunately using a pointer to its end as
> a base instead of its start, so that sorting does not work.
> 
> Fix invocation of sort() passing as base a pointer to the start of the
> retrieved clock rates array.
> 
> [...]

Applied to sudeep.holla/linux (fixes/scmi), thanks!

[1/1] firmware: arm_scmi: Fix sorting of retrieved clock rates
      https://git.kernel.org/sudeep.holla/c/23274739a5

--
Regards,
Sudeep




More information about the linux-arm-kernel mailing list