From: Al Viro Date: Mon, 3 Jul 2017 02:59:49 +0000 (-0400) Subject: um: annotate ->poll() instances X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=76d2d4a11b877e9f10f3d494180ec9a6f01f0857;p=openwrt%2Fstaging%2Fblogic.git um: annotate ->poll() instances Signed-off-by: Al Viro --- diff --git a/arch/um/drivers/hostaudio_kern.c b/arch/um/drivers/hostaudio_kern.c index 12bdb5996bf5..7f9dbdbc4eb7 100644 --- a/arch/um/drivers/hostaudio_kern.c +++ b/arch/um/drivers/hostaudio_kern.c @@ -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");