Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp241640imm; Tue, 22 May 2018 17:56:27 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrEzxTCek8XOUoiM/Yu/CcRWLvAWB/bpiwQV20IQqyGfNzE94zNHmbbDY7fcTxxwhZj+vO9 X-Received: by 2002:a65:550d:: with SMTP id f13-v6mr571420pgr.324.1527036987418; Tue, 22 May 2018 17:56:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527036987; cv=none; d=google.com; s=arc-20160816; b=ETDBYCoG/AlekU1JEFDEOX83YllrP4vymma8e/jUae/TlSCBZ4KjLm33m/6XIq6JF0 0KaXC2h/nJ3AmV+ekdYrEHMiQoHZ0jdja/YMFtYSh60Eshz3y5+F3NPyQ5VuEBxck55e 9vLrhwhoxwwPbbVaYle+2MK6m80v8BSKUXd5FU1nvTgrb0HhL8S0sOFHNbSUMYSF1p8l oI0J0vCUD3Wamw7md9864Fb5cUy4l1UmR7ticH+aCXITliwnCGPu6xy/Kchy7Y4lPqe4 JylDmFjIZldGrqdZVeKNhYJAGQaWTFjiNHj75MV6WjxsqYSa7LAKh7s+rbjkHZcASCPa jpKg== 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=+e2kdVcz1uJeVdS+35QRfmoLG/qq1sx1+ptU6tbvVYU=; b=kJJAgKSo2W6dkQVs4sf5WYaFnSImpHpLblWISVraegaWV1Nxw9+2AakDyubfjeGYXp DH8Jk4VFQzxTyL8AapM+SRrJBJUiaAMWyTyRhlv5vGVQomwz8QefgdqAk64IxWNaqam/ +kMNDOR66Fa8b7ms2nzt8mGTId2mGLG8lol0xLssiw2E574OHvDLD7ojUKZAOinl9uVu UXTm9uIhrbm//ZIgcPAvHp9rHODqy21IzQneAAfk7kJB11BUk7FnqSZx/fT0H2tRAayj 30SgFh9u/ZdmnhwvFnxdMUSlhY+FPovtiyhDN4+L9cs+rX5rdY5gu26gOI+BLl/dBLF/ 7tEw== 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 a69-v6si17634134pli.391.2018.05.22.17.56.10; Tue, 22 May 2018 17:56:27 -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 S1753604AbeEWA4B (ORCPT + 99 others); Tue, 22 May 2018 20:56:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:49694 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753319AbeEWA4A (ORCPT ); Tue, 22 May 2018 20:56:00 -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 1EF2D20870; Wed, 23 May 2018 00:55:59 +0000 (UTC) Date: Tue, 22 May 2018 20:55:57 -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: <20180522205557.4cfa3c3f@gandalf.local.home> In-Reply-To: <20180518203130.2011-1-gomonovych@gmail.com> References: <20180518203130.2011-1-gomonovych@gmail.com> 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 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. -- 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. > *