drm/rockchip: Drop unbalanced obj unref
authorRob Clark <robdclark@chromium.org>
Thu, 19 Jan 2023 23:17:34 +0000 (15:17 -0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 5 Feb 2023 14:32:35 +0000 (15:32 +0100)
commit8ee3b0e85f6ccd9e6c527bc50eaba774c3bb18d0
tree3da954cb3df8f11ac53b76cc2cb5fda76ea80e9a
parent0020d4cfa3eea0e5fad23af49411217da854fc83
drm/rockchip: Drop unbalanced obj unref

In the error path, rockchip_drm_gem_object_mmap() is dropping an obj
reference that it doesn't own.

Fixes: 41315b793e13 ("drm/rockchip: use drm_gem_mmap helpers")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230119231734.2884543-1-robdclark@gmail.com
drivers/gpu/drm/rockchip/rockchip_drm_gem.c