Chris Metcalf c0f0601060 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 <cmetcalf@tilera.com>
2013-08-30 11:56:42 -04:00
..
2013-08-30 11:56:34 -04:00
2013-08-30 11:56:42 -04:00
2013-08-30 11:56:38 -04:00
2013-08-30 11:55:53 -04:00