summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-17 04:11:54 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-28 17:07:12 +0100
commitecf927000ce3265e9871c79d43c10ceed8bd61c9 (patch)
tree34df2dbdb22f40cb732a0bbc2fd19c664532f1a7 /include
parentthe rest of drivers/*: annotate ->poll() instances (diff)
downloadlinux-ecf927000ce3265e9871c79d43c10ceed8bd61c9.tar.xz
linux-ecf927000ce3265e9871c79d43c10ceed8bd61c9.zip
ring_buffer_poll_wait() return value used as return value of ->poll()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ring_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ring_buffer.h b/include/linux/ring_buffer.h
index 289e4d54e3e0..7d9eb39fa76a 100644
--- a/include/linux/ring_buffer.h
+++ b/include/linux/ring_buffer.h
@@ -96,7 +96,7 @@ __ring_buffer_alloc(unsigned long size, unsigned flags, struct lock_class_key *k
})
int ring_buffer_wait(struct ring_buffer *buffer, int cpu, bool full);
-int ring_buffer_poll_wait(struct ring_buffer *buffer, int cpu,
+__poll_t ring_buffer_poll_wait(struct ring_buffer *buffer, int cpu,
struct file *filp, poll_table *poll_table);