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/iucv | |
parent | e6c5a7d997db73aaab2fb8337710f109e5d931b1 (diff) |
net: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/iucv')
-rw-r--r-- | net/iucv/af_iucv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c index 148533169b1d..64331158d693 100644 --- a/net/iucv/af_iucv.c +++ b/net/iucv/af_iucv.c | |||
@@ -1474,7 +1474,7 @@ done: | |||
1474 | return copied; | 1474 | return copied; |
1475 | } | 1475 | } |
1476 | 1476 | ||
1477 | static inline unsigned int iucv_accept_poll(struct sock *parent) | 1477 | static inline __poll_t iucv_accept_poll(struct sock *parent) |
1478 | { | 1478 | { |
1479 | struct iucv_sock *isk, *n; | 1479 | struct iucv_sock *isk, *n; |
1480 | struct sock *sk; | 1480 | struct sock *sk; |
@@ -1489,11 +1489,11 @@ static inline unsigned int iucv_accept_poll(struct sock *parent) | |||
1489 | return 0; | 1489 | return 0; |
1490 | } | 1490 | } |
1491 | 1491 | ||
1492 | unsigned int iucv_sock_poll(struct file *file, struct socket *sock, | 1492 | __poll_t iucv_sock_poll(struct file *file, struct socket *sock, |
1493 | poll_table *wait) | 1493 | poll_table *wait) |
1494 | { | 1494 | { |
1495 | struct sock *sk = sock->sk; | 1495 | struct sock *sk = sock->sk; |
1496 | unsigned int mask = 0; | 1496 | __poll_t mask = 0; |
1497 | 1497 | ||
1498 | sock_poll_wait(file, sk_sleep(sk), wait); | 1498 | sock_poll_wait(file, sk_sleep(sk), wait); |
1499 | 1499 | ||