diff mbox series

ring-buffer: fix typo in comment about header page pointer

Message ID 20250118012352.3430519-1-zhouzhouyi@gmail.com (mailing list archive)
State New
Headers show
Series ring-buffer: fix typo in comment about header page pointer | expand

Commit Message

Zhouyi Zhou Jan. 18, 2025, 1:23 a.m. UTC
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 mbox series

Patch

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);