Al Viro f35c1e0671 hexagon: fix strncpy_from_user() error return
It's -EFAULT, not -1 (and contrary to the comment in there,
__strnlen_user() can return 0 - on faults).

Cc: stable@vger.kernel.org
Acked-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2016-09-13 17:49:39 -04:00
..
2014-04-18 14:20:35 +02:00
2014-12-16 13:27:30 -06:00
2015-05-13 10:55:42 +02:00
2012-10-18 17:07:21 -05:00
2014-04-04 18:20:02 -05:00
2012-10-18 17:07:21 -05:00
2014-01-23 16:36:54 -08:00
2011-11-01 07:34:18 -07:00
2014-12-16 13:27:12 -06:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00