From: Dan Carpenter Date: Thu, 12 Aug 2010 07:50:09 +0000 (+0200) Subject: serial: mfd: snprintf() returns largish values X-Git-Tag: v2.6.37-rc1~155^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a95898114059e1038f3f7ee9bd2e43aefa62709a;p=pandora-kernel.git serial: mfd: snprintf() returns largish values snprintf() returns the number of bytes which would have been written so it can be larger than the size of the buffer. In this case it's fine, but people copy and paste this code so I've fixed it. Signed-off-by: Dan Carpenter Acked-by: Feng Tang Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed