[for-next][PATCH] ring-buffer: Correct a grammatical error in a comment

Steven Rostedt posted 1 patch 4 days, 9 hours ago
kernel/trace/ring_buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[for-next][PATCH] ring-buffer: Correct a grammatical error in a comment
Posted by Steven Rostedt 4 days, 9 hours ago

  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
ring-buffer/for-next

Head SHA1: 537affea1672a841cd5b87b208c193a3a542c7cf


liujing (1):
      ring-buffer: Correct a grammatical error in a comment

----
 kernel/trace/ring_buffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---------------------------
commit 537affea1672a841cd5b87b208c193a3a542c7cf
Author: liujing <liujing@cmss.chinamobile.com>
Date:   Thu Nov 7 17:53:27 2024 +0800

    ring-buffer: Correct a grammatical error in a comment
    
    The word "trace" begins with a consonant sound,
    so "a" should be used instead of "an".
    
    Link: https://lore.kernel.org/20241107095327.6390-1-liujing@cmss.chinamobile.com
    Signed-off-by: liujing <liujing@cmss.chinamobile.com>
    Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>

diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index db3bf6a1b536..d6100a7da483 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -4060,7 +4060,7 @@ static const char *show_irq_str(int bits)
 	return type[bits];
 }
 
-/* Assume this is an trace event */
+/* Assume this is a trace event */
 static const char *show_flags(struct ring_buffer_event *event)
 {
 	struct trace_entry *entry;