summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-02 22:59:49 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-27 16:19:59 -0500
commit76d2d4a11b877e9f10f3d494180ec9a6f01f0857 (patch)
treea6c06403f9ee7260714f489ba120afa7f20c9bb9 /arch/um
parent8153a5ead0898ba5a932282e571dfccd61940bba (diff)
downloadlinux-76d2d4a11b877e9f10f3d494180ec9a6f01f0857.tar.bz2
um: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/drivers/hostaudio_kern.c6
1 files changed, 3 insertions, 3 deletions
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");