aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/aspeed/aspeed_gfx_drv.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-11-18 14:14:16 +0300
committerMaxime Ripard <[email protected]>2021-11-19 11:59:15 +0100
commit96c5f82ef0a145d3e56e5b26f2bf6dcd2ffeae1c (patch)
tree1ad76d25b12bb07d2f43c246b213f257c6fd80f0 /drivers/gpu/drm/aspeed/aspeed_gfx_drv.c
parentb371fd131fcec59f6165c80778bdc2cd1abd616b (diff)
drm/vc4: fix error code in vc4_create_object()
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. Fixes: c826a6e10644 ("drm/vc4: Add a BO cache.") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/20211118111416.GC1147@kili
Diffstat (limited to 'drivers/gpu/drm/aspeed/aspeed_gfx_drv.c')
0 files changed, 0 insertions, 0 deletions