[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250118012352.3430519-1-zhouzhouyi@gmail.com>
Date: Sat, 18 Jan 2025 01:23:52 +0000
From: Zhouyi Zhou <zhouzhouyi@...il.com>
To: rostedt@...dmis.org,
mhiramat@...nel.org,
mathieu.desnoyers@...icios.com,
linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org
Cc: Zhouyi Zhou <zhouzhouyi@...il.com>
Subject: [PATCH] ring-buffer: fix typo in comment about header page pointer
Fix typo in comment about header page pointer in function
rb_get_reader_page.
Signed-off-by: Zhouyi Zhou <zhouzhouyi@...il.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
Powered by blists - more mailing lists