Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4948021imm; Fri, 18 May 2018 13:33:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrojcZlGZACRGRlxv48vegKlPSwbyBmXLp+WP/HpN04JSEgbJaayR5DF9vdHFyMivMCxNPn X-Received: by 2002:a63:5f0d:: with SMTP id t13-v6mr8669258pgb.132.1526675580669; Fri, 18 May 2018 13:33:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526675580; cv=none; d=google.com; s=arc-20160816; b=Fobt1izn2ypdL/UsOFtYYRrAv+Myv8J1hucLuW2weg0wNkmWXRNe4tE+CosYVuwGfb YoW5g22uS/O8Eta6qczShnhuU8Ft4hZFULdqQW/kISr2ntBsepOElPvyDhHiR02VY3fJ qcaOgWhDtj0GJ45k+dsph5DFcJrmY8ozrsyV1yeGLebx2lxhmlpEb0JY05FWKhxtXLCT mgfGtE1hFZihIdX4kZ+sodUKPl25Tbl7k1HLNvU0k/06Wp2Ewy4JTJbvmlL2qrLUDCWK Y54ZSwpFjOXpjzljj5a9Cys7YTGdI1vkcwGjcKgxGlByS+03H0/GoetT9nWewq1eDZaZ ySaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=a2aGAJAIxEYoQXm8mgCE1fpFQj4KaML9ff+/NQamr4Q=; b=0SqgVK/KkPZt6AbX6Vtw01P45WP6ZYTL9V1pfeOoWo6iUunUQ6f7pTxiYN5FyT4AQT rwOFQmp2nPKrNEQ7ME3Wvx1ImcWeeFPSNJjByLekaIaZkyJfdzpB95qvn+6r+/kJxcwU wNtMBK/K0HszewGcTCcNHJOJ56EQN8nLY5lpWAqOkmKmHbareeZSg9QnUj3FZITtqWMN t3msRLnmNvYv3vrxBlrXILXmaRQav4T0KwVb/xPZn+wm9i9WnTcwkuZ1TTYqY92hLxJY gjRX1kqaGbXf/iE5okCm7XGbxRLV7bA9g7Brqq/mblT7DUUNTvgMN8UgFEFFyTfvGqK5 pwDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jjxToF8Z; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y5-v6si2430427pgs.181.2018.05.18.13.32.46; Fri, 18 May 2018 13:33:00 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jjxToF8Z; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752454AbeERUc2 (ORCPT + 99 others); Fri, 18 May 2018 16:32:28 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:37670 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752229AbeERUcZ (ORCPT ); Fri, 18 May 2018 16:32:25 -0400 Received: by mail-lf0-f66.google.com with SMTP id r2-v6so15776033lff.4 for ; Fri, 18 May 2018 13:32:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=a2aGAJAIxEYoQXm8mgCE1fpFQj4KaML9ff+/NQamr4Q=; b=jjxToF8Zn8bTRhM1vef/Jxk9I2RLCYevW5dRfYMBfe6KqK9O/bmcwU0VyuEazMnWWA uvU2ECML4Mb/ksvvrDWv3nuOA88PD1S5heYDqN8oKa3ScsaQyUJ3TSDR//9ZJOjHRt1y zQ8ZujHS358pMW26XzB+qMY1nCp9QBLEk/n4lFuFmuL6LJi5tK6VFpBjYUPLCoYjdgzY OO/2unhQnqyQwAZEOc74kMzJ79o4TEzFR3xGOOSSj7raWqTsVZrjdqsByEmk/efbIKQq UP3vR9h7jOW/PIlHAett+PCvEIHfRcatQmb/G3RkA4GFeUTGXLxNWR+ZtQRJ7+bvtaf/ qteQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=a2aGAJAIxEYoQXm8mgCE1fpFQj4KaML9ff+/NQamr4Q=; b=ME51+LwMk6EfZRytLBlj04lcjRP7Odu92qKRMHq2ofMMqrbvPzZv1he7TQOoyc7HF+ Px3xJa89E3B7yIAnD9F01itmLnFdwNQHlFizwv33iHoAhunKDRrw2nUG1kCvZT2bsu7g 5JO/fJTuGMzIPDjACGG/LT26fS0Bq5dzkvEiFcW/VryGvdyGZOAeFomL8V4enX94OOsz hKjDmPhN8apQTaIfvvRKvm4rYgiCs9ejZ+AJNbgzGhvGT894guxWF3ZIYIAi8nqqGQKA 20TOw4nyOhTwP4iGw+gRSw3kQfzoTx6lZhM0ZknqZ1HUn3NyUwYuzpM5KLSiUsjc2c+F c84g== X-Gm-Message-State: ALKqPwesviRbtERNBhaSxpRYPKvT1IHAbWM6fYs+duU/O4wDmP03ZLw3 FojY50npHojjbdnA5kCfetCxECt0 X-Received: by 2002:a2e:638f:: with SMTP id s15-v6mr6559400lje.78.1526675543472; Fri, 18 May 2018 13:32:23 -0700 (PDT) Received: from localhost.localdomain ([195.254.138.66]) by smtp.gmail.com with ESMTPSA id f70-v6sm2034375lfi.2.2018.05.18.13.32.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 13:32:22 -0700 (PDT) From: Vasyl Gomonovych To: linux-kernel@vger.kernel.org Cc: Vasyl Gomonovych , Steven Rostedt , Ingo Molnar , Philippe Ombredanne , Al Viro , Greg Kroah-Hartman , "Levin, Alexander (Sasha Levin)" , Andrew Morton Subject: [PATCH] ring-buffer: Fix typo in comment Date: Fri, 18 May 2018 22:31:28 +0200 Message-Id: <20180518203130.2011-1-gomonovych@gmail.com> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix typo in the words 'reserved', 'been' 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. * -- 2.14.1