Linux Trace Kernel
 help / color / mirror / Atom feed
From: Maurice Hieronymus <mhi@mailbox.org>
To: rostedt@goodmis.org, mhiramat@kernel.org
Cc: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org,
	mhi@mailbox.org
Subject: [PATCH v2 03/13] tracing: Fix multiple typos in ring_buffer.c
Date: Fri, 21 Nov 2025 23:18:25 +0100	[thread overview]
Message-ID: <20251121221835.28032-5-mhi@mailbox.org> (raw)
In-Reply-To: <20251121221835.28032-1-mhi@mailbox.org>

Fix multiple typos in comments:
"ording" -> "ordering"
"scatch" -> "scratch"
"wont" -> "won't"

Signed-off-by: Maurice Hieronymus <mhi@mailbox.org>
---
 kernel/trace/ring_buffer.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index afcd3747264d..9139a020ece4 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -1735,7 +1735,7 @@ static bool rb_meta_init(struct trace_buffer *buffer, int scratch_size)
 	bmeta->total_size = total_size;
 	bmeta->buffers_offset = (void *)ptr - (void *)bmeta;
 
-	/* Zero out the scatch pad */
+	/* Zero out the scratch pad */
 	memset((void *)bmeta + sizeof(*bmeta), 0, bmeta->buffers_offset - sizeof(*bmeta));
 
 	return false;
@@ -6073,7 +6073,7 @@ static void rb_clear_buffer_page(struct buffer_page *page)
  * id field, and updated via this function.
  *
  * But for a fixed memory mapped buffer, the id is already assigned for
- * fixed memory ording in the memory layout and can not be used. Instead
+ * fixed memory ordering in the memory layout and can not be used. Instead
  * the index of where the page lies in the memory layout is used.
  *
  * For the normal pages, set the buffer page id with the passed in @id
@@ -7660,7 +7660,7 @@ static __init int test_ringbuffer(void)
 	/*
 	 * Show buffer is enabled before setting rb_test_started.
 	 * Yes there's a small race window where events could be
-	 * dropped and the thread wont catch it. But when a ring
+	 * dropped and the thread won't catch it. But when a ring
 	 * buffer gets enabled, there will always be some kind of
 	 * delay before other CPUs see it. Thus, we don't care about
 	 * those dropped events. We care about events dropped after
-- 
2.50.1


  parent reply	other threads:[~2025-11-21 22:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-21 22:18 [PATCH v2 00/13] tracing: Fix several comment spelling mistakes Maurice Hieronymus
2025-11-21 22:18 ` [PATCH v2 01/13] tracing: Fix typo in fgraph.c Maurice Hieronymus
2025-11-21 22:18 ` [PATCH v2 01/13] tracing: Fix typo in fpgraph.c Maurice Hieronymus
2025-11-21 22:18 ` [PATCH v2 02/13] tracing: Fix typo in fprobe.c Maurice Hieronymus
2025-11-21 22:18 ` Maurice Hieronymus [this message]
2025-11-21 22:18 ` [PATCH v2 04/13] tracing: Fix typo in ring_buffer_benchmark.c Maurice Hieronymus
2025-11-21 22:18 ` [PATCH v2 05/13] tracing: Fix multiple typos in trace.c Maurice Hieronymus
2025-11-21 22:18 ` [PATCH v2 06/13] tracing: Fix multiple typos in trace_events.c Maurice Hieronymus
2025-11-21 22:18 ` [PATCH v2 07/13] tracing: Fix typo in trace_events_filter.c Maurice Hieronymus
2025-11-21 22:18 ` [PATCH v2 08/13] tracing: Fix typo in trace_events_hist.c Maurice Hieronymus
2025-11-21 22:18 ` [PATCH v2 09/13] tracing: Fix typo in trace_events_trigger.c Maurice Hieronymus
2025-11-21 22:18 ` [PATCH v2 10/13] tracing: Fix multiple typos in trace_events_user.c Maurice Hieronymus
2025-11-21 22:18 ` [PATCH v2 11/13] tracing: Fix multiple typos in trace_osnoise.c Maurice Hieronymus
2025-11-21 22:18 ` [PATCH v2 12/13] tracing: Fix typo in trace_probe.c Maurice Hieronymus
2025-11-21 22:18 ` [PATCH v2 13/13] tracing: Fix typo in trace_seq.c Maurice Hieronymus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251121221835.28032-5-mhi@mailbox.org \
    --to=mhi@mailbox.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=mhiramat@kernel.org \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox