projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98aa399
)
workqueue: add more debug when null pwq
author
jianxin.pan
<jianxin.pan@amlogic.com>
Mon, 7 May 2018 05:51:20 +0000
(13:51 +0800)
committer
Yixun Lan
<yixun.lan@amlogic.com>
Thu, 10 May 2018 04:30:48 +0000
(21:30 -0700)
PD#158184: print work and worker function when null pwq
Change-Id: I552c6585935e47abfb9593f4a2d2f1588906aaf8
Signed-off-by: jianxin.pan <jianxin.pan@amlogic.com>
kernel/workqueue.c
patch
|
blob
|
history
diff --git
a/kernel/workqueue.c
b/kernel/workqueue.c
index
661e096
..
326219a
100644
(file)
--- a/
kernel/workqueue.c
+++ b/
kernel/workqueue.c
@@
-2042,7
+2042,9
@@
__acquires(&pool->lock)
#endif
#ifdef CONFIG_AMLOGIC_MODIFY
if (!pwq) {
- WARN_ONCE(1, "Warning: pool_workqueue is NULL!!!!!!!!!!!!.\n");
+ WARN_ONCE(1, "<%s> pwq_NULL <%lx> <%pf>, <%pf> %s\n",
+ __func__, atomic_long_read(&work->data),
+ work->func, worker->current_func, worker->desc);
return;
}