summaryrefslogtreecommitdiffstats
path: root/include/linux/ring_buffer.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-16 22:11:54 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-28 11:07:12 -0500
commitecf927000ce3265e9871c79d43c10ceed8bd61c9 (patch)
tree34df2dbdb22f40cb732a0bbc2fd19c664532f1a7 /include/linux/ring_buffer.h
parentafc9a42b7464f76e1388cad87d8543c69f6f74ed (diff)
downloadlinux-ecf927000ce3265e9871c79d43c10ceed8bd61c9.tar.gz
linux-ecf927000ce3265e9871c79d43c10ceed8bd61c9.tar.bz2
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/linux/ring_buffer.h')
-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);