drm/radeon: Add the missed drm_gem_object_put() in radeon_user_framebuffer_create()
authorJing Xiangfeng <jingxiangfeng@huawei.com>
Tue, 29 Jun 2021 11:44:55 +0000 (19:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Jul 2021 04:05:18 +0000 (00:05 -0400)
commit9ba85914c36c8fed9bf3e8b69c0782908c1247b7
treecae905696957366d7192739ad3ee23f8eb11d8a8
parentc339a80d3a5a580a1aaefc2c9eeeb2a1feee4763
drm/radeon: Add the missed drm_gem_object_put() in radeon_user_framebuffer_create()

radeon_user_framebuffer_create() misses to call drm_gem_object_put() in
an error path. Add the missed function call to fix it.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_display.c