aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorBernard Zhao <[email protected]>2021-11-15 02:58:50 +0000
committerAlex Deucher <[email protected]>2021-11-22 19:45:03 +0000
commit7b833d680481f463276aedf500696ea25698deaa (patch)
treebbe0a595e2ac4eb57fa8d0e34507f3f1d2d2dd46 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parentdrm/amd/amdgpu: cleanup the code style a bit (diff)
downloadkernel-7b833d680481f463276aedf500696ea25698deaa.tar.gz
kernel-7b833d680481f463276aedf500696ea25698deaa.zip
drm/amd/amdgpu: fix potential memleak
In function amdgpu_get_xgmi_hive, when kobject_init_and_add failed There is a potential memleak if not call kobject_put. Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Bernard Zhao <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions