Dan Carpenter 96c5f82ef0
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 <dan.carpenter@oracle.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20211118111416.GC1147@kili
2021-11-19 11:59:15 +01:00
..
2021-06-23 14:32:28 +02:00
2021-10-28 14:59:38 +10:00
2021-02-21 14:44:44 -08:00
2021-07-21 11:58:28 +10:00
2021-04-13 23:15:09 +02:00
2021-06-23 14:32:27 +02:00