Re: [PATCH v2 2/3] drm/fb-helper: Check fb_deferred_io_init() return value

From: Javier Martinez Canillas
Date: Tue Jan 24 2023 - 05:19:44 EST


On 1/21/23 20:24, Javier Martinez Canillas wrote:
> The fb_deferred_io_init() can fail and return an errno code but currently
> there is no check for its return value.
>
> Fix that and propagate to errno to the caller in the case of a failure.
>
> Fixes: d536540f304c ("drm/fb-helper: Add generic fbdev emulation .fb_probe function")
> Signed-off-by: Javier Martinez Canillas <javierm@xxxxxxxxxx>
> Reviewed-by: Thomas Zimmermann <tzimmermann@xxxxxxx>
> ---

Pushed this to drm-misc (drm-misc-fixes). Thanks!

--
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat