Dan Carpenter 9927a403ca i915: return -EFAULT if copy_to_user fails
copy_to_user returns the number of bytes remaining to be copied, but we
want to return a negative error code here.  These are returned to
userspace.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
2010-09-06 23:09:53 +01:00
..
2010-08-24 15:28:28 +10:00
2010-08-21 12:47:05 -07:00
2010-08-20 09:34:56 -07:00
2010-08-23 18:15:38 -07:00
2010-07-26 08:05:31 -07:00
2010-07-27 12:40:54 +02:00