]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Free CPER entry after committing to ring
authorXiang Liu <xiang.liu@amd.com>
Fri, 28 Feb 2025 03:11:08 +0000 (11:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Mar 2025 15:37:27 +0000 (10:37 -0500)
commit677ae51f4901e22517f8291a0263f794c104e167
tree6daf7850fa79899e7c115bce20d6e24bfcf3a052
parent899634a57abcbdd62367db6194623b13372d9da8
drm/amdgpu: Free CPER entry after committing to ring

Free CPER entry when it's committed to CPER ring to avoid memory leak.

Signed-off-by: Xiang Liu <xiang.liu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c