[patch] drm/vc4: checking for NULL instead of IS_ERR

Eric Anholt eric at anholt.net
Wed Nov 4 17:40:12 PST 2015


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

> vc4_plane_init() returns an ERR_PTR on error, it doesn't return NULL.
> This was obviously intended because the next lines call
> PTR_ERR(primary_plane) already.
>
> Fixes: c8b75bca92cb ('Eric Anholt <eric at anholt.net>')
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Pulled this patch, should get it into 4.4.  Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151104/eb490d97/attachment.sig>


More information about the dri-devel mailing list