Re: [patch] drm/vc4: Return -EFAULT on copy_from_user() failure

From: Eric Anholt
Date: Sun Mar 13 2016 - 21:17:48 EST

Dan Carpenter <dan.carpenter@xxxxxxxxxx> writes:

> The copy_from_user() function returns the number of bytes not copied but
> we want to return a negative error code.
> Fixes: 463873d57014 ('drm/vc4: Add an API for creating GPU shaders in GEM BOs.')
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Pulled. Thanks!

Attachment: signature.asc
Description: PGP signature