summaryrefslogtreecommitdiff
path: root/arch/ia64
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-08-18 21:16:49 -0400
committerSasha Levin <alexander.levin@verizon.com>2016-10-02 21:13:11 -0400
commit4661786b4e1350a84d705d6cdd2fea2ecf114ce2 (patch)
treeb111c99f5c04ff5fa5ba98098974c962ded39a6f /arch/ia64
parentbd2f050b78f082d449b28a4a0724385eb29aaddb (diff)
hexagon: fix strncpy_from_user() error return
[ Upstream commit f35c1e0671728d1c9abc405d05ef548b5fcb2fc4 ] 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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions