linux/arch/hexagon/include
Al Viro e2a1890b68 hexagon: fix strncpy_from_user() error return
commit f35c1e0671 upstream.

It's -EFAULT, not -1 (and contrary to the comment in there,
__strnlen_user() can return 0 - on faults).

Acked-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2016-11-20 01:17:27 +00:00
..
asm hexagon: fix strncpy_from_user() error return 2016-11-20 01:17:27 +00:00
uapi/asm Hexagon: remove SP macro 2014-04-04 18:20:02 -05:00