summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2025-07-15 14:41:46 -0500
committerAlex Deucher <alexander.deucher@amd.com>2025-07-28 16:28:34 -0400
commitb174084b3fe15ad1acc69530e673c1535d2e4f85 (patch)
tree58d5d890277bb133b228cb565ce43a5d4db3b752 /lib/crypto/mpi/mpi-sub-ui.c
parenta5ce8695d6d1b40d6960d2d298b579042c158f25 (diff)
drm/amd/display: Only finalize atomic_obj if it was initialized
[Why] If amdgpu_dm failed to initalize before amdgpu_dm_initialize_drm_device() completed then freeing atomic_obj will lead to list corruption. [How] Check if atomic_obj state is initialized before trying to free. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Ivan Lipski <ivan.lipski@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions