um: annotate ->poll() instances
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 3 Jul 2017 02:59:49 +0000 (22:59 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 27 Nov 2017 21:19:59 +0000 (16:19 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/um/drivers/hostaudio_kern.c

index 12bdb5996bf56cb54d3b0e9ea3b980ceb14d44d6..7f9dbdbc4eb7468f3c0b7f5a21e47c668faac49c 100644 (file)
@@ -119,10 +119,10 @@ static ssize_t hostaudio_write(struct file *file, const char __user *buffer,
        return err;
 }
 
-static unsigned int hostaudio_poll(struct file *file,
-                                  struct poll_table_struct *wait)
+static __poll_t hostaudio_poll(struct file *file,
+                               struct poll_table_struct *wait)
 {
-       unsigned int mask = 0;
+       __poll_t mask = 0;
 
 #ifdef DEBUG
        printk(KERN_DEBUG "hostaudio: poll called (unimplemented)\n");