diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-02 23:04:37 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 16:20:01 -0500 |
commit | 38544bfff2f215030935189873f87a400bb0bf03 (patch) | |
tree | d9a378661ace1755806b559e6b22c7046332dc11 /crypto/af_alg.c | |
parent | 1771e70a2ea40f01433de656195d85cc7732ead0 (diff) |
crypto: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'crypto/af_alg.c')
-rw-r--r-- | crypto/af_alg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/af_alg.c b/crypto/af_alg.c index 85cea9de324a..a00a8171b4f6 100644 --- a/crypto/af_alg.c +++ b/crypto/af_alg.c | |||
@@ -1054,13 +1054,13 @@ EXPORT_SYMBOL_GPL(af_alg_async_cb); | |||
1054 | /** | 1054 | /** |
1055 | * af_alg_poll - poll system call handler | 1055 | * af_alg_poll - poll system call handler |
1056 | */ | 1056 | */ |
1057 | unsigned int af_alg_poll(struct file *file, struct socket *sock, | 1057 | __poll_t af_alg_poll(struct file *file, struct socket *sock, |
1058 | poll_table *wait) | 1058 | poll_table *wait) |
1059 | { | 1059 | { |
1060 | struct sock *sk = sock->sk; | 1060 | struct sock *sk = sock->sk; |
1061 | struct alg_sock *ask = alg_sk(sk); | 1061 | struct alg_sock *ask = alg_sk(sk); |
1062 | struct af_alg_ctx *ctx = ask->private; | 1062 | struct af_alg_ctx *ctx = ask->private; |
1063 | unsigned int mask; | 1063 | __poll_t mask; |
1064 | 1064 | ||
1065 | sock_poll_wait(file, sk_sleep(sk), wait); | 1065 | sock_poll_wait(file, sk_sleep(sk), wait); |
1066 | mask = 0; | 1066 | mask = 0; |