net: annotate ->poll() instances

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2017-07-03 00:01:49 -04:00
parent e6c5a7d997
commit ade994f4f6
40 changed files with 77 additions and 76 deletions

View file

@ -341,12 +341,12 @@ static int pn_socket_getname(struct socket *sock, struct sockaddr *addr,
return 0;
}
static unsigned int pn_socket_poll(struct file *file, struct socket *sock,
static __poll_t pn_socket_poll(struct file *file, struct socket *sock,
poll_table *wait)
{
struct sock *sk = sock->sk;
struct pep_sock *pn = pep_sk(sk);
unsigned int mask = 0;
__poll_t mask = 0;
poll_wait(file, sk_sleep(sk), wait);