Dan Carpenter dan.carpenter@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@anholt.net') Signed-off-by: Dan Carpenter dan.carpenter@oracle.com
Pulled this patch, should get it into 4.4. Thanks!