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

Eric Anholt eric at anholt.net
Mon Oct 17 17:09:00 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>

Reviewed and applied to drm-vc4-next.  Thanks!
-------------- 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/20161017/734c709c/attachment-0001.sig>


More information about the dri-devel mailing list