mips: annotate ->poll() instances
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 3 Jul 2017 02:27:13 +0000 (22:27 -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/mips/kernel/rtlx.c

index b80dd8b17a764f1dfc24ffd5560c72e5b4c0678e..bbb0f4770c0d89fe33335bdf29a22bbaca108cda 100644 (file)
@@ -336,10 +336,10 @@ static int file_release(struct inode *inode, struct file *filp)
        return rtlx_release(iminor(inode));
 }
 
-static unsigned int file_poll(struct file *file, poll_table *wait)
+static __poll_t file_poll(struct file *file, poll_table *wait)
 {
        int minor = iminor(file_inode(file));
-       unsigned int mask = 0;
+       __poll_t mask = 0;
 
        poll_wait(file, &channel_wqs[minor].rt_queue, wait);
        poll_wait(file, &channel_wqs[minor].lx_queue, wait);