summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers
diff options
context:
space:
mode:
authorAl Viro2017-07-03 04:59:49 +0200
committerAl Viro2017-11-27 22:19:59 +0100
commit76d2d4a11b877e9f10f3d494180ec9a6f01f0857 (patch)
treea6c06403f9ee7260714f489ba120afa7f20c9bb9 /arch/um/drivers
parentppc: annotate ->poll() instances (diff)
downloadkernel-qcow2-linux-76d2d4a11b877e9f10f3d494180ec9a6f01f0857.tar.gz
kernel-qcow2-linux-76d2d4a11b877e9f10f3d494180ec9a6f01f0857.tar.xz
kernel-qcow2-linux-76d2d4a11b877e9f10f3d494180ec9a6f01f0857.zip
um: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/um/drivers')
-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");