From: Henrik Rydberg Date: Thu, 7 Jun 2012 08:54:29 +0000 (-0400) Subject: hwmon: (applesmc) Limit key length in warning messages X-Git-Tag: v3.2.22~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51b9f4cbf489c79d02e835f8b0819bb5f86f3660;p=pandora-kernel.git hwmon: (applesmc) Limit key length in warning messages commit ac852edb47b15900886ba2564eeeb13b3b526e3e upstream. Key lookups may call read_smc() with a fixed-length key string, and if the lookup fails, trailing stack content may appear in the kernel log. Fixed with this patch. Signed-off-by: Henrik Rydberg Signed-off-by: Guenter Roeck Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed