diff options
author | Al Viro | 2017-07-16 22:11:54 -0400 |
---|---|---|
committer | Al Viro | 2017-11-28 11:07:12 -0500 |
commit | ecf927000ce3265e9871c79d43c10ceed8bd61c9 (patch) | |
tree | 34df2dbdb22f40cb732a0bbc2fd19c664532f1a7 /kernel | |
parent | afc9a42b7464f76e1388cad87d8543c69f6f74ed (diff) |
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 'kernel')
-rw-r--r-- | kernel/trace/ring_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index 91874a95060d..d24d48713ef3 100644 --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c @@ -626,7 +626,7 @@ int ring_buffer_wait(struct ring_buffer *buffer, int cpu, bool full) * Returns POLLIN | POLLRDNORM if data exists in the buffers, * zero otherwise. */ -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) { struct ring_buffer_per_cpu *cpu_buffer; |