projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6756d7
)
drm/msm: free kstrdup'd cmdline
author
Rob Clark
<robdclark@gmail.com>
Mon, 13 Nov 2017 17:53:53 +0000
(12:53 -0500)
committer
Rob Clark
<robdclark@gmail.com>
Wed, 13 Dec 2017 16:01:20 +0000
(11:01 -0500)
Fixes: 18bb8a6 'drm/msm: show task cmdline in gpu recovery messages'
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_gpu.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/msm/msm_gpu.c
b/drivers/gpu/drm/msm/msm_gpu.c
index 2322014034398110d879d6c97f7d2e5fe25c68fe..a335ad43c4eb33e7a42605aa8fa2d8b5f1a7b904 100644
(file)
--- a/
drivers/gpu/drm/msm/msm_gpu.c
+++ b/
drivers/gpu/drm/msm/msm_gpu.c
@@
-294,6
+294,8
@@
static void recover_worker(struct work_struct *work)
msm_rd_dump_submit(priv->hangrd, submit,
"offending task: %s (%s)", task->comm, cmd);
+
+ kfree(cmd);
} else {
msm_rd_dump_submit(priv->hangrd, submit, NULL);
}