summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-09-30 10:51:31 +0300
committerBjorn Andersson <andersson@kernel.org>2024-10-05 22:22:42 -0500
commit78261cb08f06c93d362cab5c5034bf5899bc7552 (patch)
treeaf1df2d9ae710b684ff0072d489fe57fe8f9dd78 /tools/perf/scripts/python/exported-sql-viewer.py
parent99b2186b2c82c39b083de65c4c9598bcc0fc288c (diff)
soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get()
This loop is supposed to break if the frequency returned from clk_round_rate() is the same as on the previous iteration. However, that check doesn't make sense on the first iteration through the loop. It leads to reading before the start of these->clk_perf_tbl[] array. Fixes: eddac5af0654 ("soc: qcom: Add GENI based QUP Wrapper driver") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/8cd12678-f44a-4b16-a579-c8f11175ee8c@stanley.mountain Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions