From nobody Fri Dec 19 14:59:08 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 28DEF23BD06 for ; Sat, 6 Dec 2025 01:05:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983153; cv=none; b=mPiJ0370jA813DTMP5VTcsHBo+U/CEG22NGCSlDPHm11QplGAo66D3pTpNyN7S60gzohM9MYH6pKF3mmBwcOlFnGpnwFMMg8Ia46RO3YAejsNItPuBsxoqvfRtpzsw5HnO6+FnAoYU4eVfO4LtegYExAWrbAte5SQZ/XyYx2BfY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983153; c=relaxed/simple; bh=CSgr+jmtyLKyrQZHVx/nf0QzSDnQr/4E+HhIQwbmVwY=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=tXBPw0KU4QmizC6rZ/MJGcEtw0hX/5CJHtaHIB7QMTB3xt9mchGkkh5+4ZEgHdRCZeHa3H8ytGNyDwY2HYNL04LVosvDM+/ib9SiI2+3ssxc6Z9IfJxUhPOasOR31Ywu3Z8J5dpQ9XDL2tlpMKgVcE1uhW+PDOEtmDFzGrCLXVw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CgRl/VL9; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CgRl/VL9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06920C19421; Sat, 6 Dec 2025 01:05:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764983153; bh=CSgr+jmtyLKyrQZHVx/nf0QzSDnQr/4E+HhIQwbmVwY=; h=Date:From:To:Cc:Subject:References:From; b=CgRl/VL9oVvDwS1evCzr4K7+ngd0IIgHs4t4zxs4Par3OVHofyLL9S1+DA1ztfKuq b+I4xH26xhCSgDe430kWuBO//u4MDC52QHX0A3KPX1+0lj3+8Um2v74ldwqH9Waw/a ypvZiPGywuPD1BVPs68vDEEvBD+XF1TFAZJieqMMPn2HZLgf5kfxpUrrlkDBrGql3v Z7ijTiOBD/4ltFQo4qkDEPx/ISE5fubMwtuKPwGSDQVp3eCPBzprWrWjByuk8VT602 IPe+7ohqEJD5iLQwP3FZ2gu3FCslYN16UsCqGzzNf+stztTe1atTWAL1pOc54Cr0Gx NZ/zt7kMTzipQ== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vRglJ-00000009VnP-2d9d; Fri, 05 Dec 2025 20:07:01 -0500 Message-ID: <20251206010701.481932137@kernel.org> User-Agent: quilt/0.68 Date: Fri, 05 Dec 2025 20:06:38 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Maurice Hieronymus Subject: [for-linus][PATCH 05/15] tracing: Fix multiple typos in ring_buffer.c References: <20251206010633.884804695@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Maurice Hieronymus Fix multiple typos in comments: "ording" -> "ordering" "scatch" -> "scratch" "wont" -> "won't" Link: https://patch.msgid.link/20251121221835.28032-5-mhi@mailbox.org Signed-off-by: Maurice Hieronymus Signed-off-by: Steven Rostedt (Google) --- 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 8688c88534de..41c9f5d079be 100644 --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c @@ -1770,7 +1770,7 @@ static bool rb_meta_init(struct trace_buffer *buffer,= int scratch_size) bmeta->total_size =3D total_size; bmeta->buffers_offset =3D (void *)ptr - (void *)bmeta; =20 - /* Zero out the scatch pad */ + /* Zero out the scratch pad */ memset((void *)bmeta + sizeof(*bmeta), 0, bmeta->buffers_offset - sizeof(= *bmeta)); =20 return false; @@ -6089,7 +6089,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 @@ -7669,7 +7669,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 --=20 2.51.0