drm: log errors in drm_gem_fb_init_with_funcs
authorSimon Ser <contact@emersion.fr>
Mon, 3 May 2021 11:39:39 +0000 (11:39 +0000)
committerSimon Ser <contact@emersion.fr>
Tue, 18 May 2021 17:48:18 +0000 (19:48 +0200)
commitf7f525030854b1c093d593dfc6edb1f75593a528
treec59d868d6f22f9292a167ffedc3212f10b52f8ee
parent44602b10d7f2a5f7d1314500dde3e6c15a67c5dd
drm: log errors in drm_gem_fb_init_with_funcs

Let the user know what went wrong in drm_gem_fb_init_with_funcs
failure paths.

v2: use proper format specifier for size_t (kernel test robot)

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Noralf Trønnes <noralf@tronnes.org>
Cc: Andrzej Pietrasiewicz <andrzej.p@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/ZS4eX0PtTuNvHezILcTWeWINOkRyMS4krXND3cIE@cp4-web-032.plabs.ch
drivers/gpu/drm/drm_gem_framebuffer_helper.c