summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-02-01 16:02:53 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2018-02-01 16:02:53 +0100
commit63e2480c86bd610c1d52fdbb76dc6ebea08e518d (patch)
tree0305f834e370f6c5bc11bb97880b92688df66bea
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next (diff)
downloadlinux-63e2480c86bd610c1d52fdbb76dc6ebea08e518d.tar.xz
linux-63e2480c86bd610c1d52fdbb76dc6ebea08e518d.zip
smc: missing poll annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-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))