[patch] drm/vc4: Fix a couple error codes in vc4_cl_lookup_bos()

Eric Anholt eric at anholt.net
Thu Oct 13 17:33:22 UTC 2016


Dan Carpenter <dan.carpenter at oracle.com> writes:

> If the allocation fails the current code returns success.  If
> copy_from_user() fails it returns the number of bytes remaining instead
> of -EFAULT.
>
> Fixes: d5b1a78a772f ("drm/vc4: Add support for drawing 3D frames.")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Looks good.  Waiting for rc1 to show up to put together a -next.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161013/08f212f9/attachment.sig>


More information about the dri-devel mailing list