mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +00:00
net: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
e6c5a7d997
commit
ade994f4f6
40 changed files with 77 additions and 76 deletions
|
@ -934,11 +934,11 @@ static int caif_release(struct socket *sock)
|
|||
}
|
||||
|
||||
/* Copied from af_unix.c:unix_poll(), added CAIF tx_flow handling */
|
||||
static unsigned int caif_poll(struct file *file,
|
||||
static __poll_t caif_poll(struct file *file,
|
||||
struct socket *sock, poll_table *wait)
|
||||
{
|
||||
struct sock *sk = sock->sk;
|
||||
unsigned int mask;
|
||||
__poll_t mask;
|
||||
struct caifsock *cf_sk = container_of(sk, struct caifsock, sk);
|
||||
|
||||
sock_poll_wait(file, sk_sleep(sk), wait);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue