projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UPSTREAM: mac80211: fix "warning: ‘target_metric’ may be used uninitialized"
[firefly-linux-kernel-4.4.55.git]
/
net
/
nfc
/
llcp_sock.c
diff --git
a/net/nfc/llcp_sock.c
b/net/nfc/llcp_sock.c
index b7de0da46acddc1eaaf041dedfbc9e2cf3697559..ecf0a0196f18040fb3fb2dc21b79273da92a470e 100644
(file)
--- a/
net/nfc/llcp_sock.c
+++ b/
net/nfc/llcp_sock.c
@@
-572,7
+572,7
@@
static unsigned int llcp_sock_poll(struct file *file, struct socket *sock,
if (sock_writeable(sk) && sk->sk_state == LLCP_CONNECTED)
mask |= POLLOUT | POLLWRNORM | POLLWRBAND;
else
- s
et_bit(SOCK_ASYNC_NOSPACE, &sk->sk_socket->flags
);
+ s
k_set_bit(SOCKWQ_ASYNC_NOSPACE, sk
);
pr_debug("mask 0x%x\n", mask);