summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_thermal.c
diff options
context:
space:
mode:
authorCesar Eduardo Barros <cesarb@cesarb.net>2008-02-16 11:41:25 +0100
committerDave Jones <davej@redhat.com>2008-04-28 21:05:44 +0200
commit25aca347d49ffc38aa3b7e63ce9b90df7f8b79c8 (patch)
tree01ae9962d03db4ae07f808428600b5d3c725b607 /drivers/acpi/processor_thermal.c
parent[CPUFREQ] Warn when cpufreq_register_notifier called before pure initcalls (diff)
downloadlinux-25aca347d49ffc38aa3b7e63ce9b90df7f8b79c8.tar.xz
linux-25aca347d49ffc38aa3b7e63ce9b90df7f8b79c8.zip
[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>
Diffstat (limited to 'drivers/acpi/processor_thermal.c')
0 files changed, 0 insertions, 0 deletions