linux/drivers/gpu
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
..
drm drm/vc4: Return -EFAULT on copy_from_user() failure 2016-03-13 17:09:12 -07:00
host1x gpu: host1x: Set DMA ops on device creation 2016-03-04 16:24:57 +01:00
ipu-v3 Merge drm-fixes into drm-next. 2016-03-14 09:46:02 +10:00
vga vga_switcheroo: Add support for switching only the DDC 2016-02-09 11:21:07 +01:00
Makefile