From patchwork Tue Jan 12 07:55:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: KP Singh X-Patchwork-Id: 12012619 X-Patchwork-Delegate: bpf@iogearbox.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4444CC43332 for ; Tue, 12 Jan 2021 07:56:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 18BF822E01 for ; Tue, 12 Jan 2021 07:56:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392184AbhALH4V (ORCPT ); Tue, 12 Jan 2021 02:56:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:43542 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392168AbhALH4T (ORCPT ); Tue, 12 Jan 2021 02:56:19 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0A4DB22E03; Tue, 12 Jan 2021 07:55:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610438138; bh=o5Rzs1vuE1D3WbehT8AKNB1TH9/Fl1BevYeZL7iOe6E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kQp0xAdm/ORxZ4vMwjFAOfRsLxKwVfhx3grAextT73CSeikuqC4Xj4JAAvOtkPmwq mBB8Bn+2ekPf1I8CtUtxdfDhboP49N3Zi0FhRSKRGxqy21b49Bu00ZZcBoQlQ8q+Yo c5VwGtS9J69opplGMDo/82hFsZ/UcS/X/sbbxDCafefLBC3puvDZNtbcuYwr4eAd2v oeD6CQUqeMwH3zaw/OEeqOsU/uXTjbMB/u8MquDJg6YXDxXS/GlGPgqTgSc7JKz0fG mWemE7k8GXerpvloIMHpsCklrDWh1cgUITP+X8G6dDSspor+7kJcvAdyR56jbbq1To VVCRQRH2fjDcw== From: KP Singh To: bpf@vger.kernel.org Cc: Andrii Nakryiko , Yonghong Song , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau Subject: [PATCH bpf v3 3/3] bpf: Fix typo in bpf_inode_storage.c Date: Tue, 12 Jan 2021 07:55:25 +0000 Message-Id: <20210112075525.256820-4-kpsingh@kernel.org> X-Mailer: git-send-email 2.30.0.284.gd98b1dd5eaa7-goog In-Reply-To: <20210112075525.256820-1-kpsingh@kernel.org> References: <20210112075525.256820-1-kpsingh@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org X-Patchwork-Delegate: bpf@iogearbox.net Fix "gurranteed" -> "guaranteed" in bpf_inode_storage.c Suggested-by: Andrii Nakryiko Acked-by: Yonghong Song Signed-off-by: KP Singh --- kernel/bpf/bpf_inode_storage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/bpf/bpf_inode_storage.c b/kernel/bpf/bpf_inode_storage.c index dbc1dbdd2cbf..2f0597320b6d 100644 --- a/kernel/bpf/bpf_inode_storage.c +++ b/kernel/bpf/bpf_inode_storage.c @@ -183,7 +183,7 @@ BPF_CALL_4(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode, if (sdata) return (unsigned long)sdata->data; - /* This helper must only called from where the inode is gurranteed + /* This helper must only called from where the inode is guaranteed * to have a refcount and cannot be freed. */ if (flags & BPF_LOCAL_STORAGE_GET_F_CREATE) { @@ -203,7 +203,7 @@ BPF_CALL_2(bpf_inode_storage_delete, if (!inode) return -EINVAL; - /* This helper must only called from where the inode is gurranteed + /* This helper must only called from where the inode is guaranteed * to have a refcount and cannot be freed. */ return inode_storage_delete(inode, map);