summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-07-01 17:30:01 -0500
committerViresh Kumar <viresh.kumar@linaro.org>2025-07-02 12:08:16 +0530
commit4a26df233266a628157d7f0285451d8655defdfc (patch)
treeac6da16f8eb5e243912b3f466317a1598f0e6b85 /scripts/lib/kdoc/kdoc_parser.py
parentb1b41bc072baf7301b1ae95fe417de09a5ad47e2 (diff)
cpufreq: armada-8k: Fix off by one in armada_8k_cpufreq_free_table()
The freq_tables[] array has num_possible_cpus() elements so, to avoid an out of bounds access, this loop should be capped at "< nb_cpus" instead of "<= nb_cpus". The freq_tables[] array is allocated in armada_8k_cpufreq_init(). Cc: stable@vger.kernel.org Fixes: f525a670533d ("cpufreq: ap806: add cpufreq driver for Armada 8K") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions