summaryrefslogtreecommitdiffstats
path: root/net/smc
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-02-01 10:02:53 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2018-02-01 10:02:53 -0500
commit63e2480c86bd610c1d52fdbb76dc6ebea08e518d (patch)
tree0305f834e370f6c5bc11bb97880b92688df66bea /net/smc
parentb2fe5fa68642860e7de76167c3111623aa0d5de1 (diff)
downloadlinux-63e2480c86bd610c1d52fdbb76dc6ebea08e518d.tar.bz2
smc: missing poll annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/smc')
-rw-r--r--net/smc/af_smc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/smc/af_smc.c b/net/smc/af_smc.c
index 3583c8ab1bae..ba4b84debc5a 100644
--- a/net/smc/af_smc.c
+++ b/net/smc/af_smc.c
@@ -1141,7 +1141,7 @@ out:
static __poll_t smc_accept_poll(struct sock *parent)
{
struct smc_sock *isk = smc_sk(parent);
- int mask = 0;
+ __poll_t mask = 0;
spin_lock(&isk->accept_q_lock);
if (!list_empty(&isk->accept_q))