summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-09-30 10:51:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-05 14:01:26 +0100
commit351bb7f9ecb9d1f09bd7767491a2b8d07f4f1ea4 (patch)
treef92b79c316a4d1feab96f13ca4e0d972f00cc6ff /scripts/objdiff
parent9744b4b5b28e358b4e37ded20623aca615ea1a4e (diff)
downloadlinux-351bb7f9ecb9d1f09bd7767491a2b8d07f4f1ea4.tar.gz
linux-351bb7f9ecb9d1f09bd7767491a2b8d07f4f1ea4.tar.bz2
linux-351bb7f9ecb9d1f09bd7767491a2b8d07f4f1ea4.zip
soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get()
[ Upstream commit 78261cb08f06c93d362cab5c5034bf5899bc7552 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions