summaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2025-03-12 09:31:06 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-03-14 06:17:24 +0300
commitebdc52607a46cda08972888178c6aa9cd6965141 (patch)
treea05b9563f477ebf7f4833c87998f08e4f9f62626 /lib/test_fortify/write_overflow-strncpy.c
parent42d9d7bed270247f134190ba0cb05bbd072f58c2 (diff)
downloadlinux-ebdc52607a46cda08972888178c6aa9cd6965141.tar.xz
drm/amdgpu/gfx12: correct cleanup of 'me' field with gfx_v12_0_me_fini()
In gfx_v12_0_cp_gfx_load_me_microcode_rs64(), gfx_v12_0_pfp_fini() is incorrectly used to free 'me' field of 'gfx', since gfx_v12_0_pfp_fini() can only release 'pfp' field of 'gfx'. The release function of 'me' field should be gfx_v12_0_me_fini(). Fixes: 52cb80c12e8a ("drm/amdgpu: Add gfx v12_0 ip block support (v6)") Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions