From: Al Viro Date: Thu, 1 Feb 2018 15:02:53 +0000 (-0500) Subject: smc: missing poll annotations X-Git-Tag: v4.16-rc1~3^2~6 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=63e2480c86bd610c1d52fdbb76dc6ebea08e518d;p=linux-block.git smc: missing poll annotations Signed-off-by: Al Viro --- 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))