Re: [PATCH] soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get()
From: Bjorn Andersson
Date: Mon Oct 07 2024 - 10:26:38 EST
On Mon, 30 Sep 2024 10:51:31 +0300, Dan Carpenter wrote:
> 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.
>
>
Applied, thanks!
[1/1] soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get()
commit: 78261cb08f06c93d362cab5c5034bf5899bc7552
Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>