Skip to content
Unverified Commit cc88ad78 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas
Browse files

drm/fb-helper: Check fb_deferred_io_init() return value



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: d536540f ("drm/fb-helper: Add generic fbdev emulation .fb_probe function")
Signed-off-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Reviewed-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230121192418.2814955-3-javierm@redhat.com
parent 0220e4fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment