diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 06:01:49 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 22:20:04 +0100 |
commit | ade994f4f6c8c3ef4c3bfc2d02166262fb9d089c (patch) | |
tree | ab92ca31c845daf847c38ec0b3844a1fdd87ecad /net/caif/caif_socket.c | |
parent | apparmor: annotate ->poll() instances (diff) | |
download | linux-ade994f4f6c8c3ef4c3bfc2d02166262fb9d089c.tar.xz linux-ade994f4f6c8c3ef4c3bfc2d02166262fb9d089c.zip |
net: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/caif/caif_socket.c')
-rw-r--r-- | net/caif/caif_socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/caif/caif_socket.c b/net/caif/caif_socket.c index 632d5a416d97..64048cec41e0 100644 --- a/net/caif/caif_socket.c +++ b/net/caif/caif_socket.c @@ -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); |