net: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -316,7 +316,7 @@ int dccp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int nonblock,
|
||||
int flags, int *addr_len);
|
||||
void dccp_shutdown(struct sock *sk, int how);
|
||||
int inet_dccp_listen(struct socket *sock, int backlog);
|
||||
unsigned int dccp_poll(struct file *file, struct socket *sock,
|
||||
__poll_t dccp_poll(struct file *file, struct socket *sock,
|
||||
poll_table *wait);
|
||||
int dccp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len);
|
||||
void dccp_req_err(struct sock *sk, u64 seq);
|
||||
|
@@ -313,10 +313,10 @@ EXPORT_SYMBOL_GPL(dccp_disconnect);
|
||||
* take care of normal races (between the test and the event) and we don't
|
||||
* go look at any of the socket buffers directly.
|
||||
*/
|
||||
unsigned int dccp_poll(struct file *file, struct socket *sock,
|
||||
__poll_t dccp_poll(struct file *file, struct socket *sock,
|
||||
poll_table *wait)
|
||||
{
|
||||
unsigned int mask;
|
||||
__poll_t mask;
|
||||
struct sock *sk = sock->sk;
|
||||
|
||||
sock_poll_wait(file, sk_sleep(sk), wait);
|
||||
|
Reference in New Issue
Block a user