On 01-07-25, 17:30, Dan Carpenter wrote: > 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@xxxxxxxxxxxxxxx > Fixes: f525a670533d ("cpufreq: ap806: add cpufreq driver for Armada 8K") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- > drivers/cpufreq/armada-8k-cpufreq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied. Thanks. -- viresh