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-07-13 15:00:26 -07:00
2013-07-10 10:12:58 -07:00
2013-07-10 10:14:35 -07:00
2013-08-30 11:56:42 -04:00