drm/msm: Add missing put_task_struct() in debugfs path
PATCH 1/1 drm/msm: Add missing put_task_struct() in debugfs path
From: Rob Clark <[email protected]>
Fixes 25faf2f2e065 ("drm/msm: Show process names in gem_describe")
Signed-off-by Rob Clark <[email protected]>
--- drivers/gpu/drm/msm/msm_gem.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/msm/msm_gem.c +1 -0
@@ -926,6 +926,7 @@ void msm_gem_describe(struct drm_gem_object *obj, struct seq_file *m,get_pid_task (aspace->pid,PIDTYPE_PID );if (task) { comm =kstrdup (task->comm,GFP_KERNEL ); +put_task_struct (task); }else { comm =NULL ; }
Signature · 1 line
2.35.1