projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
patch-5.10.100-rt62.patch
[platform/kernel/linux-rpi.git]
/
kernel
/
printk
/
printk_ringbuffer.c
diff --git
a/kernel/printk/printk_ringbuffer.c
b/kernel/printk/printk_ringbuffer.c
index
74e25a1
..
617dd63
100644
(file)
--- a/
kernel/printk/printk_ringbuffer.c
+++ b/
kernel/printk/printk_ringbuffer.c
@@
-1720,7
+1720,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)