mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +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
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue