ia64: annotate ->poll() instances
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 3 Jul 2017 02:26:11 +0000 (22:26 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 27 Nov 2017 21:19:58 +0000 (16:19 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/ia64/kernel/perfmon.c

index 09f86ebfcc7b4fdc5d964390d0d8298b21cc2364..c44f002e8f6bb9a936b59e59d5cffa56b68003ff 100644 (file)
@@ -1644,12 +1644,12 @@ pfm_write(struct file *file, const char __user *ubuf,
        return -EINVAL;
 }
 
-static unsigned int
+static __poll_t
 pfm_poll(struct file *filp, poll_table * wait)
 {
        pfm_context_t *ctx;
        unsigned long flags;
-       unsigned int mask = 0;
+       __poll_t mask = 0;
 
        if (PFM_IS_FILE(filp) == 0) {
                printk(KERN_ERR "perfmon: pfm_poll: bad magic [%d]\n", task_pid_nr(current));