Skip to contentSkip to conversation

ring-buffer: Fix a typo in function description

PATCH New Qiujun Huang 1 participant 1 message Nov 12, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ring-buffer: Fix a typo in function description

s/ring_buffer_commit_discard/ring_buffer_discard_commit/

---
 kernel/trace/ring_buffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/ring_buffer.c +1 -1
index dc83b3fa9fe7..27a7caf4e203 100644
@@ -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