linux-uconsole/arch/hexagon/include
Al Viro 0be8d73a03 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-24 10:07:44 +02:00
..
asm hexagon: fix strncpy_from_user() error return 2016-09-24 10:07:44 +02:00
uapi/asm Revert "Hexagon: fix signal.c compile error" 2015-09-09 11:27:15 -05:00