mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
net: annotate ->poll() instances
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
e6c5a7d997
commit
ade994f4f6
40 changed files with 77 additions and 76 deletions
|
|
@ -1474,7 +1474,7 @@ done:
|
|||
return copied;
|
||||
}
|
||||
|
||||
static inline unsigned int iucv_accept_poll(struct sock *parent)
|
||||
static inline __poll_t iucv_accept_poll(struct sock *parent)
|
||||
{
|
||||
struct iucv_sock *isk, *n;
|
||||
struct sock *sk;
|
||||
|
|
@ -1489,11 +1489,11 @@ static inline unsigned int iucv_accept_poll(struct sock *parent)
|
|||
return 0;
|
||||
}
|
||||
|
||||
unsigned int iucv_sock_poll(struct file *file, struct socket *sock,
|
||||
__poll_t iucv_sock_poll(struct file *file, struct socket *sock,
|
||||
poll_table *wait)
|
||||
{
|
||||
struct sock *sk = sock->sk;
|
||||
unsigned int mask = 0;
|
||||
__poll_t mask = 0;
|
||||
|
||||
sock_poll_wait(file, sk_sleep(sk), wait);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue