commit | 79513237da7ecc0981e7d962a784625b32cabfdc | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Nov 04 16:21:40 2015 +0300 |
committer | Eric Anholt <eric@anholt.net> | Tue Nov 17 12:26:49 2015 -0800 |
tree | 0fc4ac6a9b8b4f6e3a436f4bf8aced38a03cbd27 | |
parent | 2fa8e90433cdc2d9f09883f45fd2942dc042d6a6 [diff] |
drm/vc4: checking for NULL instead of IS_ERR 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@anholt.net>') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Eric Anholt <eric@anholt.net>