Files
linux/drivers/gpu/drm
Dan Carpenter 585cb132a4 drm/vc4: Return -EFAULT on copy_from_user() failure
The copy_from_user() function returns the number of bytes not copied but
we want to return a negative error code.

Fixes: 463873d570 ('drm/vc4: Add an API for creating GPU shaders in GEM BOs.')
Cc: stable@vger.kernel.org
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Eric Anholt <eric@anholt.net>
2016-03-13 17:09:12 -07:00
..
2016-03-14 09:46:02 +10:00
2016-03-14 09:46:02 +10:00
2016-02-08 09:55:48 +01:00
2016-03-14 09:46:02 +10:00
2016-03-14 09:46:02 +10:00
2016-03-14 09:46:02 +10:00
2016-03-03 11:55:33 -05:00
2016-03-14 09:46:02 +10:00
2016-03-14 09:46:02 +10:00
2016-03-14 09:46:02 +10:00
2016-02-09 11:17:37 +10:00
2016-02-17 14:19:30 +01:00
2015-10-19 11:00:44 +02:00
2016-03-14 09:46:02 +10:00
2015-09-30 10:44:48 +02:00
2016-03-14 09:46:02 +10:00
2015-12-08 16:07:53 +01:00
2015-09-30 10:44:48 +02:00
2016-03-14 09:46:02 +10:00
2015-09-30 10:44:48 +02:00
2016-03-14 09:46:02 +10:00
2015-09-30 10:44:48 +02:00
2016-01-13 16:43:07 +01:00
2015-09-30 10:44:48 +02:00