aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/trace/trace.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 881a94474d79..e1f3b99a2e52 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -2571,8 +2571,7 @@ static struct pipe_buf_operations tracing_pipe_buf_ops = {
2571}; 2571};
2572 2572
2573static size_t 2573static size_t
2574tracing_fill_pipe_page(struct page *pages, size_t rem, 2574tracing_fill_pipe_page(size_t rem, struct trace_iterator *iter)
2575 struct trace_iterator *iter)
2576{ 2575{
2577 size_t count; 2576 size_t count;
2578 int ret; 2577 int ret;
@@ -2649,7 +2648,7 @@ static ssize_t tracing_splice_read_pipe(struct file *filp,
2649 if (!pages[i]) 2648 if (!pages[i])
2650 break; 2649 break;
2651 2650
2652 rem = tracing_fill_pipe_page(pages[i], rem, iter); 2651 rem = tracing_fill_pipe_page(rem, iter);
2653 2652
2654 /* Copy the data into the page, so we can start over. */ 2653 /* Copy the data into the page, so we can start over. */
2655 ret = trace_seq_to_buffer(&iter->seq, 2654 ret = trace_seq_to_buffer(&iter->seq,