projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4529819
)
mISDN: use DECLARE_COMPLETION_ONSTACK for non-constant completion
author
Yong Zhang
<yong.zhang0@gmail.com>
Sat, 19 Dec 2009 04:30:11 +0000
(20:30 -0800)
committer
David S. Miller
<davem@davemloft.net>
Sat, 19 Dec 2009 04:30:11 +0000
(20:30 -0800)
The _ONSTACK variant should be used for on-stack completion,
otherwise it will break lockdep.
Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Acked-by: Karsten Keil <keil@b1-systems.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/l1oip_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/isdn/mISDN/l1oip_core.c
b/drivers/isdn/mISDN/l1oip_core.c
index 7e5f30dbc0a0043e8b96ff8b230042e0b76d969c..f1e8af54dff01e7934bb0f49932e825e01f44f65 100644
(file)
--- a/
drivers/isdn/mISDN/l1oip_core.c
+++ b/
drivers/isdn/mISDN/l1oip_core.c
@@
-661,7
+661,7
@@
l1oip_socket_thread(void *data)
size_t recvbuf_size = 1500;
int recvlen;
struct socket *socket = NULL;
- DECLARE_COMPLETION(wait);
+ DECLARE_COMPLETION
_ONSTACK
(wait);
/* allocate buffer memory */
recvbuf = kmalloc(recvbuf_size, GFP_KERNEL);