aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorJernej Skrabec <[email protected]>2018-06-25 12:02:46 +0000
committerMaxime Ripard <[email protected]>2018-06-27 19:43:49 +0000
commit367c359aa8637b15ee8df6335c5a29b7623966ec (patch)
treeebed159e710dd8f90e01b5b3c078c57c5dbbbbdd /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/sun4i: Add TCON TOP driver (diff)
downloadkernel-367c359aa8637b15ee8df6335c5a29b7623966ec.tar.gz
kernel-367c359aa8637b15ee8df6335c5a29b7623966ec.zip
drm/sun4i: Fix releasing node when enumerating enpoints
sun4i_drv_add_endpoints() has a memory leak since it uses of_node_put() when remote is equal to NULL and does nothing when remote has a valid pointer. Invert the logic to fix memory leak. Signed-off-by: Jernej Skrabec <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions