]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ring-buffer: Fix typo in comment about header page pointer
authorZhouyi Zhou <zhouzhouyi@gmail.com>
Sat, 18 Jan 2025 01:23:52 +0000 (01:23 +0000)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 6 Mar 2025 18:35:26 +0000 (13:35 -0500)
Fix typo in comment about header page pointer in function
rb_get_reader_page.

Link: https://lore.kernel.org/20250118012352.3430519-1-zhouzhouyi@gmail.com
Signed-off-by: Zhouyi Zhou <zhouzhouyi@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/ring_buffer.c

index bb6089c2951e502bd82a7803aa49b8f9e0da0acc..9d4d951090d3760754078b39d084eabbaa213ede 100644 (file)
@@ -5318,7 +5318,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);