summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorCristian Marussi <cristian.marussi@arm.com>2022-03-18 09:28:13 +0000
committerSudeep Holla <sudeep.holla@arm.com>2022-04-04 23:06:09 +0100
commit23274739a5b6166f74d8d9cb5243d7bf6b46aab9 (patch)
treea02dd88ab33cba5844247fb4bd6681191d11bc44 /tools/perf/scripts/python/syscall-counts.py
parent98f0d68f94ea21541e0050cc64fa108ade779839 (diff)
firmware: arm_scmi: Fix sorting of retrieved clock rates
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. Link: https://lore.kernel.org/r/20220318092813.49283-1-cristian.marussi@arm.com Fixes: dccec73de91d ("firmware: arm_scmi: Keep the discrete clock rates sorted") Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions