mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
net: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
e6c5a7d997
commit
ade994f4f6
40 changed files with 77 additions and 76 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue