smc: missing poll annotations
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 1 Feb 2018 15:02:53 +0000 (10:02 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 1 Feb 2018 15:02:53 +0000 (10:02 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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);
-       int mask = 0;
+       __poll_t mask = 0;
 
        spin_lock(&isk->accept_q_lock);
        if (!list_empty(&isk->accept_q))