android_kernel_xiaomi_sm8350/drivers/cpufreq
Cesar Eduardo Barros 25aca347d4 [CPUFREQ] fix show_trans_table
Fix show_trans_table when it overflows PAGE_SIZE.

* Not all snprintf calls were protected against being passed a negative
length.
* When show_trans_table overflows, len might be > PAGE_SIZE. In that case,
returns PAGE_SIZE.

Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
Signed-off-by: Dave Jones <davej@codemonkey.org.uk>
2008-04-28 15:05:44 -04:00
..
cpufreq_conservative.c
cpufreq_ondemand.c
cpufreq_performance.c
cpufreq_powersave.c
cpufreq_stats.c [CPUFREQ] fix show_trans_table 2008-04-28 15:05:44 -04:00
cpufreq_userspace.c [CPUFREQ] Eliminate cpufreq_userspace scaling_setspeed deadlock 2008-02-06 22:57:58 -05:00
cpufreq.c [CPUFREQ] Warn when cpufreq_register_notifier called before pure initcalls 2008-04-28 15:05:44 -04:00
freq_table.c [CPUFREQ] fix incorrect comment on show_available_freqs() in freq_table.c 2008-02-06 22:57:58 -05:00
Kconfig [CPUFREQ] fix configuration help message 2008-02-06 22:57:58 -05:00
Makefile