The patch titled cpufreq: fix bug in duplicate freq elimination code in acpi-cpufreq has been added to the -mm tree. Its filename is cpufreq-fix-bug-in-duplicate-freq-elimination-code-in-acpi-cpufreq.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: cpufreq: fix bug in duplicate freq elimination code in acpi-cpufreq From: Alexey Starikovskiy <alexey.y.starikovskiy@xxxxxxxxx> Due to duplicate state elimiation in the loop earlier, the number of valid_states can be less than perf->state_count, in which case freq_table was ending up with some garbage/uninitialized entries in the table. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@xxxxxxxxx> Cc: Dave Jones <davej@xxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c~cpufreq-fix-bug-in-duplicate-freq-elimination-code-in-acpi-cpufreq arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c --- a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c~cpufreq-fix-bug-in-duplicate-freq-elimination-code-in-acpi-cpufreq +++ a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c @@ -693,7 +693,7 @@ static int acpi_cpufreq_cpu_init(struct perf->states[i].core_frequency * 1000; valid_states++; } - data->freq_table[perf->state_count].frequency = CPUFREQ_TABLE_END; + data->freq_table[valid_states].frequency = CPUFREQ_TABLE_END; result = cpufreq_frequency_table_cpuinfo(policy, data->freq_table); if (result) _ Patches currently in -mm which might be from alexey.y.starikovskiy@xxxxxxxxx are cpufreq-fix-bug-in-duplicate-freq-elimination-code-in-acpi-cpufreq.patch git-acpi.patch git-cpufreq.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html