Files
linux/drivers/gpu/drm/vc4
Dan Carpenter 1ef7e51bde drm/vc4: fix error code in vc4_create_object()
[ Upstream commit 96c5f82ef0 ]

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: c826a6e106 ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-16 12:21:02 +09:00
..
2016-04-14 12:22:53 -07:00
2016-04-14 12:22:53 -07:00
2016-04-14 12:22:53 -07:00
2018-02-03 17:05:41 +01:00
2017-02-01 08:33:03 +01:00
2018-02-03 17:05:41 +01:00