diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-17 04:11:54 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-28 17:07:12 +0100 |
commit | ecf927000ce3265e9871c79d43c10ceed8bd61c9 (patch) | |
tree | 34df2dbdb22f40cb732a0bbc2fd19c664532f1a7 /kernel/trace/ring_buffer.c | |
parent | the rest of drivers/*: annotate ->poll() instances (diff) | |
download | linux-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 'kernel/trace/ring_buffer.c')
-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; |