[PATCH next] drm: adp: Fix NULL vs IS_ERR() check in adp_plane_new()

Sasha Finkelstein fnkl.kernel at gmail.com
Fri Mar 7 20:11:28 UTC 2025


On Fri, 7 Mar 2025 at 10:31, Dan Carpenter <dan.carpenter at linaro.org> wrote:
>
> The __drmm_universal_plane_alloc() function doesn't return NULL, it
> returns error pointers.  Update the check to match.
>
> Fixes: 332122eba628 ("drm: adp: Add Apple Display Pipe driver")

Acked-by: Sasha Finkelstein <fnkl.kernel at gmail.com>


More information about the dri-devel mailing list