From: Will Deacon Date: Fri, 22 Aug 2014 13:20:24 +0000 (+0100) Subject: arm64: ptrace: fix compat reg getter/setter return values X-Git-Tag: fixes-v3.17-rc4~33^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85487edd252fa04718dcd735bc0f41213bbb9546;p=pandora-kernel.git arm64: ptrace: fix compat reg getter/setter return values copy_{to,from}_user return the number of bytes remaining on failure, not an error code. This patch returns -EFAULT when the copy operation didn't complete, rather than expose the number of bytes not copied directly to userspace. Signed-off-by: Will Deacon --- Reading git-diff-tree failed