diff options
| author | Jiasheng Jiang <[email protected]> | 2024-11-27 20:10:42 +0000 |
|---|---|---|
| committer | Tvrtko Ursulin <[email protected]> | 2024-12-09 10:29:06 +0000 |
| commit | 2828e5808bcd5aae7fdcd169cac1efa2701fa2dd (patch) | |
| tree | 029f0b505d81f1e7d8e705427626b4d2df80c781 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/i915: Fix NULL pointer dereference in capture_engine (diff) | |
| download | kernel-2828e5808bcd5aae7fdcd169cac1efa2701fa2dd.tar.gz kernel-2828e5808bcd5aae7fdcd169cac1efa2701fa2dd.zip | |
drm/i915: Fix memory leak by correcting cache object name in error handler
Replace "slab_priorities" with "slab_dependencies" in the error handler
to avoid memory leak.
Fixes: 32eb6bcfdda9 ("drm/i915: Make request allocation caches global")
Cc: <[email protected]> # v5.2+
Signed-off-by: Jiasheng Jiang <[email protected]>
Reviewed-by: Nirmoy Das <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 9bc5e7dc694d3112bbf0fa4c46ef0fa0f114937a)
Signed-off-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
