From: Chris Metcalf Date: Fri, 9 Aug 2013 20:21:43 +0000 (-0400) Subject: tile: fix strncpy_from_user bug X-Git-Tag: v3.12-rc1~120^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0f060106000bafafc56ad2af147e541458eabdd;p=pandora-kernel.git tile: fix strncpy_from_user bug In strncpy_from_user_asm, when the destination buffer length was the same as the actual string length, we were returning the size of the destination buffer. But since it's a NUL terminated string, we should return the length of the string instead. Signed-off-by: Chris Metcalf --- Reading git-diff-tree failed