Skip to content

Commit 3ca4d7a

Browse files
zhouzhouyi-hubrostedt
authored andcommitted
ring-buffer: Fix typo in comment about header page pointer
Fix typo in comment about header page pointer in function rb_get_reader_page. Link: https://lore.kernel.org/[email protected] Signed-off-by: Zhouyi Zhou <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent 937fbf1 commit 3ca4d7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/trace/ring_buffer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5318,7 +5318,7 @@ rb_get_reader_page(struct ring_buffer_per_cpu *cpu_buffer)
53185318
* moving it. The page before the header page has the
53195319
* flag bit '1' set if it is pointing to the page we want.
53205320
* but if the writer is in the process of moving it
5321-
* than it will be '2' or already moved '0'.
5321+
* then it will be '2' or already moved '0'.
53225322
*/
53235323

53245324
ret = rb_head_page_replace(reader, cpu_buffer->reader_page);

0 commit comments

Comments
 (0)