summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-11-18 14:14:16 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-08 08:45:03 +0100
commitdb80f49e04e3a114374eab8b066ab74b2383cf7d (patch)
tree24d5ac61a1291350e9b16098f8d36b4705caa470 /kernel
parent58ef2c7a6de13721865d84b80eecf56d6cba0937 (diff)
downloadlinux-stable-db80f49e04e3a114374eab8b066ab74b2383cf7d.tar.gz
linux-stable-db80f49e04e3a114374eab8b066ab74b2383cf7d.tar.bz2
linux-stable-db80f49e04e3a114374eab8b066ab74b2383cf7d.zip
drm/vc4: fix error code in vc4_create_object()
[ Upstream commit 96c5f82ef0a145d3e56e5b26f2bf6dcd2ffeae1c ] 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 Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions