Files
linux/drivers
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
..
2015-12-29 15:32:24 -05:00
2016-03-14 09:46:02 +10:00
2015-12-21 11:44:00 +09:00
2016-01-12 12:17:28 +01:00
2016-03-14 09:46:02 +10:00
2016-02-23 17:17:20 -08:00
2016-01-22 18:04:28 -05:00
2016-01-20 17:09:18 -08:00
2016-01-03 16:32:59 -08:00
2016-03-14 09:46:02 +10:00
2016-01-12 01:12:40 +01:00
2016-01-20 17:09:18 -08:00
2016-02-26 12:47:32 +02:00
2016-02-28 07:38:52 -07:00
2016-03-14 09:46:02 +10:00