net: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -421,7 +421,7 @@ out:
|
||||
}
|
||||
EXPORT_SYMBOL(bt_sock_stream_recvmsg);
|
||||
|
||||
static inline unsigned int bt_accept_poll(struct sock *parent)
|
||||
static inline __poll_t bt_accept_poll(struct sock *parent)
|
||||
{
|
||||
struct bt_sock *s, *n;
|
||||
struct sock *sk;
|
||||
@@ -437,11 +437,11 @@ static inline unsigned int bt_accept_poll(struct sock *parent)
|
||||
return 0;
|
||||
}
|
||||
|
||||
unsigned int bt_sock_poll(struct file *file, struct socket *sock,
|
||||
__poll_t bt_sock_poll(struct file *file, struct socket *sock,
|
||||
poll_table *wait)
|
||||
{
|
||||
struct sock *sk = sock->sk;
|
||||
unsigned int mask = 0;
|
||||
__poll_t mask = 0;
|
||||
|
||||
BT_DBG("sock %p, sk %p", sock, sk);
|
||||
|
||||
|
Reference in New Issue
Block a user