aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/bcma/ssh:/git@git.zx2c4.com/git:
diff options
context:
space:
mode:
authorXiang Liu <xiang.liu@amd.com>2026-05-11 21:28:59 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-05-19 12:15:24 -0400
commit893fea60f8393fc99fa522f1718690421a5f9951 (patch)
treea32cc2fd11f4d972b0177a3eba4477545121f261 /include/linux/bcma/ssh:/git@git.zx2c4.com/git:
parentdrm/amdgpu: unmap all user mappings of framebuffer and doorbell before mode1 reset (diff)
drm/amd/ras: Fix UMC error address allocation leak
amdgpu_umc_handle_bad_pages() allocates err_data->err_addr before querying UMC error information. In the direct and firmware query paths, the pointer is reassigned to a fresh allocation before the original buffer is released, so the initial allocation is leaked on each handled event. Free the existing buffer before replacing it in those query paths so the function exit cleanup only owns the active allocation. Signed-off-by: Xiang Liu <xiang.liu@amd.com> Reviewed-by: Stanley.Yang <Stanley.Yang@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 911b1bdd22c3712a22b60fcc58f7b9f2d07b0803)
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions