diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2019-10-03 17:54:57 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-07 15:09:33 -0500 |
commit | 1995b3a35fecbf8a8078a5c3ff4b4a88eddaa5fe (patch) | |
tree | 0bad14ae90dd05969dbbbfcb87eb0125882f5132 /drivers/gpu/drm/amd/display/modules/freesync/freesync.c | |
parent | 317a8d9eb612a39daf182986463c067201dc1d29 (diff) |
drm/amdgpu: Fix error handling in amdgpu_ras_recovery_init
Don't set a struct pointer to NULL before freeing its members. It's
hard to see what's happening due to a local pointer-to-pointer data
aliasing con->eh_data.
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Tested-by: Philip Cox <Philip.Cox@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions