From: Sam Ravnborg Date: Sun, 27 Apr 2008 05:57:25 +0000 (-0700) Subject: can: Fix copy_from_user() results interpretation X-Git-Tag: v2.6.26-rc1~715^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f91bd420a955803421f2db17b2e04aacfbb2bb8;p=pandora-kernel.git can: Fix copy_from_user() results interpretation Both copy_to_ and _from_user return the number of bytes, that failed to reach their destination, not the 0/-EXXX values. Based on patch from Pavel Emelyanov Signed-off-by: Sam Ravnborg Acked-by: Oliver Hartkopp Signed-off-by: David S. Miller --- Reading git-diff-tree failed