net: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -725,12 +725,12 @@ static int rxrpc_getsockopt(struct socket *sock, int level, int optname,
|
||||
/*
|
||||
* permit an RxRPC socket to be polled
|
||||
*/
|
||||
static unsigned int rxrpc_poll(struct file *file, struct socket *sock,
|
||||
static __poll_t rxrpc_poll(struct file *file, struct socket *sock,
|
||||
poll_table *wait)
|
||||
{
|
||||
struct sock *sk = sock->sk;
|
||||
struct rxrpc_sock *rx = rxrpc_sk(sk);
|
||||
unsigned int mask;
|
||||
__poll_t mask;
|
||||
|
||||
sock_poll_wait(file, sk_sleep(sk), wait);
|
||||
mask = 0;
|
||||
|
Reference in New Issue
Block a user