Browse Source

smc: missing poll annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 7 years ago
parent
commit
63e2480c86
1 changed files with 1 additions and 1 deletions
  1. 1 1
      net/smc/af_smc.c

+ 1 - 1
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))