From: Al Viro Date: Mon, 3 Jul 2017 02:27:13 +0000 (-0400) Subject: mips: annotate ->poll() instances X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8b9aab09aaf390b868359b9365b667cf6506473c;p=openwrt%2Fstaging%2Fblogic.git mips: annotate ->poll() instances Signed-off-by: Al Viro --- diff --git a/arch/mips/kernel/rtlx.c b/arch/mips/kernel/rtlx.c index b80dd8b17a76..bbb0f4770c0d 100644 --- a/arch/mips/kernel/rtlx.c +++ b/arch/mips/kernel/rtlx.c @@ -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);