From: Chen Gang Date: Tue, 20 Aug 2013 06:05:04 +0000 (+0930) Subject: kernel/params.c: use scnprintf() instead of sprintf() X-Git-Tag: v3.12-rc1~145^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4940ab7c5992d3fabcda039744fb7657749798e;p=pandora-kernel.git kernel/params.c: use scnprintf() instead of sprintf() For some strings (e.g. version string), they are permitted to be larger than PAGE_SIZE (although meaningless), so recommend to use scnprintf() instead of sprintf(). Signed-off-by: Chen Gang Signed-off-by: Rusty Russell --- Reading git-diff-tree failed