* [PATCH] ring-buffer: fix typo in comment about header page pointer
@ 2025-01-18 1:23 Zhouyi Zhou
0 siblings, 0 replies; only message in thread
From: Zhouyi Zhou @ 2025-01-18 1:23 UTC (permalink / raw)
To: rostedt, mhiramat, mathieu.desnoyers, linux-kernel, linux-trace-kernel
Cc: Zhouyi Zhou
Fix typo in comment about header page pointer in function
rb_get_reader_page.
Signed-off-by: Zhouyi Zhou <zhouzhouyi@gmail.com>
---
kernel/trace/ring_buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index 60210fb5b211..a0b1dd654496 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -5321,7 +5321,7 @@ rb_get_reader_page(struct ring_buffer_per_cpu *cpu_buffer)
* moving it. The page before the header page has the
* flag bit '1' set if it is pointing to the page we want.
* but if the writer is in the process of moving it
- * than it will be '2' or already moved '0'.
+ * then it will be '2' or already moved '0'.
*/
ret = rb_head_page_replace(reader, cpu_buffer->reader_page);
--
2.25.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-01-18 1:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-18 1:23 [PATCH] ring-buffer: fix typo in comment about header page pointer Zhouyi Zhou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®