linux_dsm_epyc7002/drivers/gpu
Dan Carpenter 888155bbf6 vmwgfx: return an -EFAULT if copy_to_user() fails
copy_to_user() returns the number of bytes remaining to be copied, but
we want to return a negative error code here.  I fixed a couple of these
last year, but I missed this one.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-11-16 09:53:01 +10:00
..
drm vmwgfx: return an -EFAULT if copy_to_user() fails 2012-11-16 09:53:01 +10:00
stub
vga Merge branch 'pci/yinghai-misc' into next 2012-09-24 17:24:11 -06:00
Makefile