projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7242795
)
drm/msm: Add missing put_task_struct() in debugfs path
author
Rob Clark
<robdclark@chromium.org>
Thu, 17 Mar 2022 18:45:49 +0000
(11:45 -0700)
committer
Rob Clark
<robdclark@chromium.org>
Thu, 24 Mar 2022 15:34:35 +0000
(08:34 -0700)
Fixes:
25faf2f2e065
("drm/msm: Show process names in gem_describe")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Link:
https://lore.kernel.org/r/20220317184550.227991-1-robdclark@gmail.com
drivers/gpu/drm/msm/msm_gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/msm/msm_gem.c
b/drivers/gpu/drm/msm/msm_gem.c
index
02b9ae6
..
a4f6197
100644
(file)
--- a/
drivers/gpu/drm/msm/msm_gem.c
+++ b/
drivers/gpu/drm/msm/msm_gem.c
@@
-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;
}