Re: [PATCH] drm/plane: Fix IS_ERR() vs NULL check in drm_plane_create_hotspot_properties()
From: Javier Martinez Canillas
Date: Thu Dec 04 2025 - 01:59:00 EST
Dan Carpenter <dan.carpenter@xxxxxxxxxx> writes:
Hello Dan,
> The drm_property_create_signed_range() function doesn't return error
> pointers it returns NULL on error. Fix the error checking to match.
>
> Fixes: 8f7179a1027d ("drm/atomic: Add support for mouse hotspots")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> ---
Reviewed-by: Javier Martinez Canillas <javierm@xxxxxxxxxx>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat