smc: missing poll annotations
[muen/linux.git] / net / smc / af_smc.c
index 3583c8ab1baee60ef73830e7219252cce8f062fc..ba4b84debc5a03dff26299070fed7bd26439a022 100644 (file)
@@ -1141,7 +1141,7 @@ out:
 static __poll_t smc_accept_poll(struct sock *parent)
 {
        struct smc_sock *isk = smc_sk(parent);
 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))
 
        spin_lock(&isk->accept_q_lock);
        if (!list_empty(&isk->accept_q))