Dan Carpenter
9b8eb4d147
drm/vmwgfx: return -EFAULT for copy_to_user errors
...
copy_to/from_user() returns the number of bytes remaining to be copied
but we want to return a negative error code here. This gets returned to
userspace.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-06-08 09:33:41 +10:00
..
2010-03-15 10:35:04 +10:00
2010-06-01 09:37:15 +10:00
2009-12-15 08:38:36 +10:00
2009-12-15 08:38:36 +10:00
2009-12-15 08:38:36 +10:00
2009-12-15 08:38:36 +10:00
2009-12-15 08:38:36 +10:00
2010-04-20 14:13:09 +10:00
2010-06-03 13:13:36 +10:00
2010-06-03 13:13:36 +10:00
2010-06-08 09:33:41 +10:00
2010-06-03 13:13:36 +10:00
2010-06-01 09:37:15 +10:00
2010-06-01 09:37:25 +10:00
2009-12-15 08:38:43 +10:00
2010-02-11 11:58:09 +10:00
2010-06-01 09:37:15 +10:00
2010-06-03 13:13:36 +10:00
2010-06-03 13:13:36 +10:00
2010-06-03 13:13:36 +10:00
2010-06-01 09:37:47 +10:00
2009-12-15 08:38:43 +10:00
2010-06-08 09:33:41 +10:00
2009-12-15 08:38:43 +10:00