Skip to content

Commit

Permalink
ring-buffer: Fix a typo in function description
Browse files Browse the repository at this point in the history
s/ring_buffer_commit_discard/ring_buffer_discard_commit/

Link: https://lkml.kernel.org/r/20201112151800.14382-1-hqjagain@gmail.com

Signed-off-by: Qiujun Huang <hqjagain@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
  • Loading branch information
Qiujun Huang authored and rostedt committed Dec 7, 2020
1 parent a32ded3 commit 8888349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/trace/ring_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -3645,7 +3645,7 @@ rb_decrement_entry(struct ring_buffer_per_cpu *cpu_buffer,
}

/**
* ring_buffer_commit_discard - discard an event that has not been committed
* ring_buffer_discard_commit - discard an event that has not been committed
* @buffer: the ring buffer
* @event: non committed event to discard
*
Expand Down

0 comments on commit 8888349

Please sign in to comment.