Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp243923imm; Tue, 22 May 2018 17:59:52 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpn+v0/hd0Sxz6F/7xRrtPGScJ0n/rRrJJCkqXG6Xo5MsJhWDfMAgblYMtlVYl5gugCUv4V X-Received: by 2002:a62:4544:: with SMTP id s65-v6mr710092pfa.150.1527037191987; Tue, 22 May 2018 17:59:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527037191; cv=none; d=google.com; s=arc-20160816; b=ef5OkFbCEzUPA2lX8tvKoz3J+MayYblwJvxOqq0nR/iX7bvfmutBU2ghXjNOL1sOzP ON/q8mEv9ngXuApNgUOriH17op7UOJ73AloSvkez40pQ09EHOVsBuF3Rn90oOZji1Gh0 B63A1sBJ3XTsBWRX0NNP98sPmpMmwcSGe0B4dhebEQEjAgRZ5fXDX/gpl0rre7lZKXVs iBjwhosq2NBvr+nVCOyxaSDOsntO42Jz29BOg/TqV8b8r9DLIC0Cog+tsUwttebP4ByQ 22qaasPVp7M52Wu0xYvNyB6BmqMYP8wI3l+GE6oBT5Xh97y1dwEpJjWvXHq6RSdpfNBj c6Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=3BpgI8wcNaSRRSTa69l586ttR7ePvuSaQP8w7f3K3t8=; b=c1jagRXDJeX86kTEIPqxiHs7aUs9LxGd3l/lfJYe/JbI+jqd6ePVVErogYKzq4gvK0 z8CjLhL6/aYHz9CE06SROhX2X+4Cv07eplfeApuptoExwkk/wI3RJ+VkUORTKSMKR7e4 1b+bhrmHk3Utu6yr+cdISu4w9RRxN72FEwsZ2oGgL2Nt1IIf5HfexqDw8l/asxCrgVza iYq8Sw9alZ4IISrT4P0aceAjpyoNPIOODZbbYieSkiVgpO9PE1sNNi4UKRHWD68cmZFi PdhzZf2vYuRwDXyJzYkWKASQqFEWEKtgvhPp8Cgq91i+aoKf1nSAisP7TCflAfF9L3Y3 4qPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l3-v6si17120030pfi.179.2018.05.22.17.59.37; Tue, 22 May 2018 17:59:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753604AbeEWA72 (ORCPT + 99 others); Tue, 22 May 2018 20:59:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:50144 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753481AbeEWA71 (ORCPT ); Tue, 22 May 2018 20:59:27 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3E84820870; Wed, 23 May 2018 00:59:26 +0000 (UTC) Date: Tue, 22 May 2018 20:59:24 -0400 From: Steven Rostedt To: Vasyl Gomonovych Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Philippe Ombredanne , Al Viro , Greg Kroah-Hartman , "Levin, Alexander (Sasha Levin)" , Andrew Morton Subject: Re: [PATCH] ring-buffer: Fix typo in comment Message-ID: <20180522205924.0f4781eb@gandalf.local.home> In-Reply-To: <20180522205557.4cfa3c3f@gandalf.local.home> References: <20180518203130.2011-1-gomonovych@gmail.com> <20180522205557.4cfa3c3f@gandalf.local.home> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 May 2018 20:55:57 -0400 Steven Rostedt wrote: > On Fri, 18 May 2018 22:31:28 +0200 > Vasyl Gomonovych wrote: > > > Fix typo in the words 'reserved', 'been' > > Thanks, but someone sent me a bunch of spelling fixes for that file > which included these. I'll be pushing that to linux-next soon. I stand corrected. ring_buffer.c was fixed, but the "been" typo in ring_buffer.h was not. I'll add that part of this patch. -- Steve > > > > > Signed-off-by: Vasyl Gomonovych > > --- > > include/linux/ring_buffer.h | 2 +- > > kernel/trace/ring_buffer.c | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/include/linux/ring_buffer.h b/include/linux/ring_buffer.h > > index 7d9eb39fa76a..aa500da87f2a 100644 > > --- a/include/linux/ring_buffer.h > > +++ b/include/linux/ring_buffer.h > > @@ -63,7 +63,7 @@ void *ring_buffer_event_data(struct ring_buffer_event *event); > > > > /* > > * ring_buffer_discard_commit will remove an event that has not > > - * ben committed yet. If this is used, then ring_buffer_unlock_commit > > + * been committed yet. If this is used, then ring_buffer_unlock_commit > > * must not be called on the discarded event. This function > > * will try to remove the event from the ring buffer completely > > * if another event has not been written after it. > > diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c > > index dcf1c4dd3efe..a8a8eb23c489 100644 > > --- a/kernel/trace/ring_buffer.c > > +++ b/kernel/trace/ring_buffer.c > > @@ -2776,7 +2776,7 @@ rb_reserve_next_event(struct ring_buffer *buffer, > > * @buffer: the ring buffer to reserve from > > * @length: the length of the data to reserve (excluding event header) > > * > > - * Returns a reseverd event on the ring buffer to copy directly to. > > + * Returns a reserved event on the ring buffer to copy directly to. > > * The user of this interface will need to get the body to write into > > * and can use the ring_buffer_event_data() interface. > > * >