]> git.baikalelectronics.ru Git - kernel.git/commit
drm/gma500: Add the missed drm_gem_object_put() in psb_user_framebuffer_create()
authorJing Xiangfeng <jingxiangfeng@huawei.com>
Tue, 29 Jun 2021 11:59:56 +0000 (19:59 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 29 Jun 2021 16:09:31 +0000 (18:09 +0200)
commitcd8f318fbd266b127ffc93cc4c1eaf9a5196fafb
tree095c4f66316fe76fcc152993d3d35a3c760b3b9a
parent82c850c12fc250bdba25e7e66f54adab2ffcfcd6
drm/gma500: Add the missed drm_gem_object_put() in psb_user_framebuffer_create()

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

Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210629115956.15160-1-jingxiangfeng@huawei.com
drivers/gpu/drm/gma500/framebuffer.c