linux/drivers/gpu/drm/amd
Bernard Zhao 7b833d6804 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 <Felix.Kuehling@amd.com>
Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-11-22 14:45:03 -05:00
..
acp
amdgpu drm/amd/amdgpu: fix potential memleak 2021-11-22 14:45:03 -05:00
amdkfd drm/amd/amdkfd: Fix kernel panic when reset failed and been triggered again 2021-11-22 14:45:02 -05:00
display drm/amd/display: fix cond_no_effect.cocci warnings 2021-11-22 14:45:02 -05:00
include drm/amd/pm: avoid duplicate powergate/ungate setting 2021-11-22 14:45:02 -05:00
pm drm/amdgpu: support new mode-1 reset interface (v2) 2021-11-22 14:45:02 -05:00