From: Eduardo Valentin Date: Wed, 17 Apr 2013 17:12:17 +0000 (+0000) Subject: thermal: cpu_cooling: use snprintf instead of sprintf X-Git-Tag: v3.10-rc1~42^2~5^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99871a714b0a9429e960629fbc2c6c20c57ea484;p=pandora-kernel.git thermal: cpu_cooling: use snprintf instead of sprintf Limit the amount of bytes written to dev_name by secure writing with snprintf. Signed-off-by: Eduardo Valentin Acked-by: Amit Daniel Kachhap Signed-off-by: Zhang Rui --- Reading git-diff-tree failed