diff options
| author | Greg Kroah-Hartman <[email protected]> | 2022-09-02 13:01:05 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-09-08 02:28:30 +0000 |
| commit | b73ac0ecd4683878a335510fd100c1081e6c87fb (patch) | |
| tree | f3de15197115d8bf2b8d29c6257e28cd1d394958 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | drm/amd/pm: add missing SetMGpuFanBoostLimitRpm mapping for SMU 13.0.7 (diff) | |
| download | kernel-b73ac0ecd4683878a335510fd100c1081e6c87fb.tar.gz kernel-b73ac0ecd4683878a335510fd100c1081e6c87fb.zip | |
drm/amd/display: fix memory leak when using debugfs_lookup()
When calling debugfs_lookup() the result must have dput() called on it,
otherwise the memory will leak over time. Fix this up by properly
calling dput().
Cc: Harry Wentland <[email protected]>
Cc: Leo Li <[email protected]>
Cc: Rodrigo Siqueira <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: "Pan, Xinhui" <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Wayne Lin <[email protected]>
Cc: hersen wu <[email protected]>
Cc: Wenjing Liu <[email protected]>
Cc: Patrik Jakobsson <[email protected]>
Cc: Thelford Williams <[email protected]>
Cc: Fangzhi Zuo <[email protected]>
Cc: Yongzhi Liu <[email protected]>
Cc: Mikita Lipski <[email protected]>
Cc: Jiapeng Chong <[email protected]>
Cc: Bhanuprakash Modem <[email protected]>
Cc: Sean Paul <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Reviewed-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions
