net: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -1209,11 +1209,11 @@ static int dn_getname(struct socket *sock, struct sockaddr *uaddr,int *uaddr_len
|
||||
}
|
||||
|
||||
|
||||
static unsigned int dn_poll(struct file *file, struct socket *sock, poll_table *wait)
|
||||
static __poll_t dn_poll(struct file *file, struct socket *sock, poll_table *wait)
|
||||
{
|
||||
struct sock *sk = sock->sk;
|
||||
struct dn_scp *scp = DN_SK(sk);
|
||||
int mask = datagram_poll(file, sock, wait);
|
||||
__poll_t mask = datagram_poll(file, sock, wait);
|
||||
|
||||
if (!skb_queue_empty(&scp->other_receive_queue))
|
||||
mask |= POLLRDBAND;
|
||||
|
Reference in New Issue
Block a user