Dan Carpenter c877cdce93 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 <error27@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
2010-09-06 23:09:54 +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