summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javierm@redhat.com>2023-01-21 20:24:17 +0100
committerJavier Martinez Canillas <javierm@redhat.com>2023-01-24 11:13:07 +0100
commitcc88ad784e42398b8845594fe3aa720d0cc1c40c (patch)
treedf5ed7bfac41336684a5185a7377b0cc87f648b4 /include/drm
parent0220e4fe178c3390eb0291cdb34912d66972db8a (diff)
downloadlinux-cc88ad784e42398b8845594fe3aa720d0cc1c40c.tar.bz2
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: d536540f304c ("drm/fb-helper: Add generic fbdev emulation .fb_probe function") Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20230121192418.2814955-3-javierm@redhat.com
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions