mISDN: use DECLARE_COMPLETION_ONSTACK for non-constant completion
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>
This commit is contained in:
parent
4529819c45
commit
01a1e7ec6c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue