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

@ -114,10 +114,10 @@ static int eventfd_release(struct inode *inode, struct file *file)
return 0;
}
static unsigned int eventfd_poll(struct file *file, poll_table *wait)
static __poll_t eventfd_poll(struct file *file, poll_table *wait)
{
struct eventfd_ctx *ctx = file->private_data;
unsigned int events = 0;
__poll_t events = 0;
u64 count;
poll_wait(file, &ctx->wqh, wait);