fs: annotate ->poll() instances

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2017-07-03 01:02:18 -04:00
commit 076ccb76e1
24 changed files with 41 additions and 41 deletions

View file

@ -463,9 +463,9 @@ static ssize_t dev_write(struct file *file, const char __user *u, size_t count,
return count;
}
static unsigned int dev_poll(struct file *file, poll_table *wait)
static __poll_t dev_poll(struct file *file, poll_table *wait)
{
unsigned int mask = 0;
__poll_t mask = 0;
poll_wait(file, &send_wq, wait);

View file

@ -887,7 +887,7 @@ static ssize_t device_read(struct file *file, char __user *buf, size_t count,
return rv;
}
static unsigned int device_poll(struct file *file, poll_table *wait)
static __poll_t device_poll(struct file *file, poll_table *wait)
{
struct dlm_user_proc *proc = file->private_data;