fs: annotate ->poll() instances

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2017-07-03 01:02:18 -04:00
parent 9dd957485d
commit 076ccb76e1
24 changed files with 41 additions and 41 deletions

View File

@@ -227,10 +227,10 @@ static int timerfd_release(struct inode *inode, struct file *file)
return 0;
}
static unsigned int timerfd_poll(struct file *file, poll_table *wait)
static __poll_t timerfd_poll(struct file *file, poll_table *wait)
{
struct timerfd_ctx *ctx = file->private_data;
unsigned int events = 0;
__poll_t events = 0;
unsigned long flags;
poll_wait(file, &ctx->wqh, wait);