mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -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
|
|
@ -152,12 +152,12 @@ static int rds_getname(struct socket *sock, struct sockaddr *uaddr,
|
|||
* to send to a congested destination, the system call may still fail (and
|
||||
* return ENOBUFS).
|
||||
*/
|
||||
static unsigned int rds_poll(struct file *file, struct socket *sock,
|
||||
static __poll_t rds_poll(struct file *file, struct socket *sock,
|
||||
poll_table *wait)
|
||||
{
|
||||
struct sock *sk = sock->sk;
|
||||
struct rds_sock *rs = rds_sk_to_rs(sk);
|
||||
unsigned int mask = 0;
|
||||
__poll_t mask = 0;
|
||||
unsigned long flags;
|
||||
|
||||
poll_wait(file, sk_sleep(sk), wait);
|
||||
|
|
|
|||
Loading…
Reference in a new issue