From: Dan Carpenter Date: Wed, 23 Jun 2010 17:03:01 +0000 (+0200) Subject: i915: return -EFAULT if copy_to_user fails X-Git-Tag: v2.6.36-rc4~94^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c877cdce93a44eea96f6cf7fc04be7d0372db2be;p=pandora-kernel.git i915: return -EFAULT if copy_to_user fails copy_to_user() returns the number of bytes remaining to be copied and I'm pretty sure we want to return a negative error code here. Signed-off-by: Dan Carpenter Signed-off-by: Chris Wilson Cc: stable@kernel.org --- Reading git-diff-tree failed