diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 00:01:49 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 16:20:04 -0500 |
commit | ade994f4f6c8c3ef4c3bfc2d02166262fb9d089c (patch) | |
tree | ab92ca31c845daf847c38ec0b3844a1fdd87ecad /net/tipc | |
parent | e6c5a7d997db73aaab2fb8337710f109e5d931b1 (diff) | |
download | op-kernel-dev-ade994f4f6c8c3ef4c3bfc2d02166262fb9d089c.zip op-kernel-dev-ade994f4f6c8c3ef4c3bfc2d02166262fb9d089c.tar.gz |
net: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/tipc')
-rw-r--r-- | net/tipc/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 5d18c0c..d94d258 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c @@ -710,13 +710,13 @@ static int tipc_getname(struct socket *sock, struct sockaddr *uaddr, * imply that the operation will succeed, merely that it should be performed * and will not block. */ -static unsigned int tipc_poll(struct file *file, struct socket *sock, +static __poll_t tipc_poll(struct file *file, struct socket *sock, poll_table *wait) { struct sock *sk = sock->sk; struct tipc_sock *tsk = tipc_sk(sk); struct tipc_group *grp = tsk->group; - u32 revents = 0; + __poll_t revents = 0; sock_poll_wait(file, sk_sleep(sk), wait); |