From: Cesar Eduardo Barros Date: Sat, 16 Feb 2008 10:41:25 +0000 (-0200) Subject: [CPUFREQ] fix show_trans_table X-Git-Tag: v2.6.26-rc1~697^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25aca347d49ffc38aa3b7e63ce9b90df7f8b79c8;p=pandora-kernel.git [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 Signed-off-by: Dave Jones --- Reading git-diff-tree failed