diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 07:02:18 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 22:20:05 +0100 |
commit | 076ccb76e1a6cf0aa5371132efdd502a11e806f1 (patch) | |
tree | 6917e5c6896f75226fe97e09a236c502fe0637f5 /fs/timerfd.c | |
parent | ipc, kernel, mm: annotate ->poll() instances (diff) | |
download | linux-076ccb76e1a6cf0aa5371132efdd502a11e806f1.tar.xz linux-076ccb76e1a6cf0aa5371132efdd502a11e806f1.zip |
fs: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/timerfd.c')
-rw-r--r-- | fs/timerfd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/timerfd.c b/fs/timerfd.c index 040612ec9598..0510717f3a53 100644 --- a/fs/timerfd.c +++ b/fs/timerfd.c @@ -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); |