summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorQiujun Huang <hqjagain@gmail.com>2020-11-12 16:18:00 +0100
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-12-08 00:14:53 +0100
commit888834903d362b48c879ce8ab9966428367360c9 (patch)
treede7abdb961a360ec3767edd88ad9b25996bb34e7 /kernel
parentring-buffer: Remove obsolete rb_event_is_commit() (diff)
downloadlinux-888834903d362b48c879ce8ab9966428367360c9.tar.xz
linux-888834903d362b48c879ce8ab9966428367360c9.zip
ring-buffer: Fix a typo in function description
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/trace/ring_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index 1b9da155ff00..f09d3f5911cb 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -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
*