[PATCH] drm/v3d: fix a NULL vs error pointer mixup
Eric Anholt
eric at anholt.net
Fri Mar 22 21:30:07 UTC 2019
Dan Carpenter <dan.carpenter at oracle.com> writes:
> The drm_gem_shmem_create() returns error pointers and v3d_bo_create() is
> also supposed to return error pointers.
>
> Fixes: 40609d4820b2 ("drm/v3d: Use the new shmem helpers to reduce driver boilerplate.")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
Sigh, error pointers are the worst.
Reviewed, and applying to drm-misc-next.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190322/66174b4a/attachment.sig>
More information about the dri-devel
mailing list