diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 00:42:43 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 16:20:05 -0500 |
commit | 9dd957485d7d896ec18d8e2f9dd410efe71eca34 (patch) | |
tree | 3fc16b03e1192c378e266bcbd8f9b41397e2d826 /kernel/time/posix-clock.c | |
parent | ade994f4f6c8c3ef4c3bfc2d02166262fb9d089c (diff) |
ipc, kernel, mm: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/time/posix-clock.c')
-rw-r--r-- | kernel/time/posix-clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/time/posix-clock.c b/kernel/time/posix-clock.c index 17cdc554c9fe..36b04e7fcf62 100644 --- a/kernel/time/posix-clock.c +++ b/kernel/time/posix-clock.c | |||
@@ -68,10 +68,10 @@ static ssize_t posix_clock_read(struct file *fp, char __user *buf, | |||
68 | return err; | 68 | return err; |
69 | } | 69 | } |
70 | 70 | ||
71 | static unsigned int posix_clock_poll(struct file *fp, poll_table *wait) | 71 | static __poll_t posix_clock_poll(struct file *fp, poll_table *wait) |
72 | { | 72 | { |
73 | struct posix_clock *clk = get_posix_clock(fp); | 73 | struct posix_clock *clk = get_posix_clock(fp); |
74 | unsigned int result = 0; | 74 | __poll_t result = 0; |
75 | 75 | ||
76 | if (!clk) | 76 | if (!clk) |
77 | return POLLERR; | 77 | return POLLERR; |