(subset) [PATCH] drm/vc4: fix error code in vc4_create_object()

Maxime Ripard maxime at cerno.tech
Fri Nov 19 11:00:56 UTC 2021


On Thu, 18 Nov 2021 14:14:16 +0300, Dan Carpenter wrote:
> The ->gem_create_object() functions are supposed to return NULL if there
> is an error.  None of the callers expect error pointers so returing one
> will lead to an Oops.  See drm_gem_vram_create(), for example.
> 
> 

Applied to drm/drm-misc (drm-misc-fixes).

Thanks!
Maxime


More information about the dri-devel mailing list