diff options
author | Gabor Juhos <[email protected]> | 2024-02-29 19:07:52 +0100 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2024-03-02 12:40:46 -0600 |
commit | e2c02a85bf53ae86d79b5fccf0a75ac0b78e0c96 (patch) | |
tree | 43eaa660965d00dcb690449a82be8b751e67698a /tools/perf/util/trace-event-scripting.c | |
parent | a903cfd38d8dee7e754fb89fd1bebed99e28003d (diff) |
clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays
The frequency table arrays are supposed to be terminated with an
empty element. Add such entry to the end of the arrays where it
is missing in order to avoid possible out-of-bound access when
the table is traversed by functions like qcom_find_freq() or
qcom_find_freq_floor().
Only compile tested.
Fixes: d8b212014e69 ("clk: qcom: Add support for MSM8974's multimedia clock controller (MMCC)")
Signed-off-by: Gabor Juhos <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions