瀏覽代碼

smc: missing poll annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 7 年之前
父節點
當前提交
63e2480c86
共有 1 個文件被更改,包括 1 次插入1 次删除
  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))