diff options
| author | 2026-09-03 12:09:25 +0200 | |
|---|---|---|
| committer | 2026-09-11 19:43:11 -0400 | |
| commit | a2ef401bdfd19aa41d0e3e1b630a12fbc01ac184 (patch) | |
| tree | 2de8f4bfae514068a6a251d2abbdd4ec8f63eaf4 /scripts/Makefile.thinlto | |
| parent | clk: tegra: fix typos in comments (diff) | |
clk: rs9: Add clock index range check to rs9_of_clk_get()
rs9_of_clk_get() does not validate the clock index in the passed
DT clock specifier. If DT specifies an incorrect and out-of-range
index, this will access memory beyond the end of the clk_dif[] array.
Fix by this adding a range check to rs9_of_clk_get().
Fixes: 892e0ddea1aa6f70 ("clk: rs9: Add Renesas 9-series PCIe clock generator driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
