diff options
author | Petr Mladek <pmladek@suse.com> | 2021-01-21 18:06:21 +0300 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2021-01-21 18:06:21 +0300 |
commit | 535b6a122c6b43af5772ca39cbff7056749aae74 (patch) | |
tree | 9b2eda3b3c60581895bf862736b8c761f3325a59 /kernel/printk/printk_ringbuffer.c | |
parent | a91bd6223ecd46addc71ee6fcd432206d39365d2 (diff) | |
parent | f0e386ee0c0b71ea6f7238506a4d0965a2dbef11 (diff) | |
download | linux-535b6a122c6b43af5772ca39cbff7056749aae74.tar.xz |
Merge branch 'printk-rework' into for-linus
Diffstat (limited to 'kernel/printk/printk_ringbuffer.c')
-rw-r--r-- | kernel/printk/printk_ringbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/printk/printk_ringbuffer.c b/kernel/printk/printk_ringbuffer.c index 6704f06e0417..8a7b7362c0dd 100644 --- a/kernel/printk/printk_ringbuffer.c +++ b/kernel/printk/printk_ringbuffer.c @@ -1718,7 +1718,7 @@ static bool copy_data(struct prb_data_ring *data_ring, /* Caller interested in the line count? */ if (line_count) - *line_count = count_lines(data, data_size); + *line_count = count_lines(data, len); /* Caller interested in the data content? */ if (!buf || !buf_size) |