diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-08-18 21:16:49 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-09-13 17:49:39 -0400 |
commit | f35c1e0671728d1c9abc405d05ef548b5fcb2fc4 (patch) | |
tree | 6237bc7d599269b60e8051675eb7c583189555e9 /arch/ia64 | |
parent | 3b8767a8f00cc6538ba6b1cf0f88502e2fd2eb90 (diff) | |
download | linux-f35c1e0671728d1c9abc405d05ef548b5fcb2fc4.tar.gz linux-f35c1e0671728d1c9abc405d05ef548b5fcb2fc4.tar.bz2 linux-f35c1e0671728d1c9abc405d05ef548b5fcb2fc4.zip |
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>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions