ring-buffer: Fix a typo in function description
Subsystems (2)
PATCH 1/1 ring-buffer: Fix a typo in function description
s/ring_buffer_commit_discard/ring_buffer_discard_commit/
Signed-off-by Qiujun Huang <[email protected]>
--- kernel/trace/ring_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/ring_buffer.c +1 -1
@@ -3502,7 +3502,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 *
Signature · 1 line
2.17.1