From: Dan Carpenter Date: Thu, 3 Jun 2010 00:05:35 +0000 (+0000) Subject: tehuti: return -EFAULT on copy_to_user errors X-Git-Tag: v2.6.35-rc2~4^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d23380701876dd93d310b2548c51d0f78f25d7aa;p=pandora-kernel.git tehuti: return -EFAULT on copy_to_user errors copy_to_user() returns the number of bytes remaining but we want to return a negative error code here. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed