From mboxrd@z Thu Jan 1 00:00:00 1970 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.0 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,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 41E89C433ED for ; Mon, 12 Apr 2021 16:41:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 19E8361025 for ; Mon, 12 Apr 2021 16:41:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245626AbhDLQle (ORCPT ); Mon, 12 Apr 2021 12:41:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:37286 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344003AbhDLQgc (ORCPT ); Mon, 12 Apr 2021 12:36:32 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 972B661350; Mon, 12 Apr 2021 16:27:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618244854; bh=zdoNfL8nF2oR2mk7xgcsy6wsSn1eqs9f02JL5m9rWQw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kUgsjIUuQUT9t4BPs6sGpp8Qo30FHkSFxgtiaiRqQzuV3km8HUXvxvMZtkpZ7TBPI nQ3WvTMi8Qccl9a8YPSii+5g1sXs1N3FlDWVa2vQ4Zb0+DQQspkmivssVCrOq6g3Hn CrFA0iRcXQ9jN1v83pLXYv+thtceh42JLiqiy2I6IWwbn0/RNWE42lGIJ+0hJLo66E hj/9bL764R1oemqQvcv+6BUDIZ+NdWmVX7W/puGZzBC2b9NO0IRLY+/Jn2Ov1QUikh lwFQ99Vyd7boQyh1C1UZeGkeKw6qenRA2ffsULuqIFAlZ9FbGC+5tESIv/jNLMJM1R BaeILrkFW9A7Q== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Zheng Yongjun , Hulk Robot , "David S . Miller" , Sasha Levin , netdev@vger.kernel.org, tipc-discussion@lists.sourceforge.net Subject: [PATCH AUTOSEL 4.9 22/23] net: tipc: Fix spelling errors in net/tipc module Date: Mon, 12 Apr 2021 12:27:03 -0400 Message-Id: <20210412162704.315783-22-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210412162704.315783-1-sashal@kernel.org> References: <20210412162704.315783-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Zheng Yongjun [ Upstream commit a79ace4b312953c5835fafb12adc3cb6878b26bd ] These patches fix a series of spelling errors in net/tipc module. Reported-by: Hulk Robot Signed-off-by: Zheng Yongjun Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- net/tipc/bearer.h | 6 +++--- net/tipc/net.c | 2 +- net/tipc/node.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h index 278ff7f616f9..eff1667f3748 100644 --- a/net/tipc/bearer.h +++ b/net/tipc/bearer.h @@ -140,9 +140,9 @@ struct tipc_media { * care of initializing all other fields. */ struct tipc_bearer { - void __rcu *media_ptr; /* initalized by media */ - u32 mtu; /* initalized by media */ - struct tipc_media_addr addr; /* initalized by media */ + void __rcu *media_ptr; /* initialized by media */ + u32 mtu; /* initialized by media */ + struct tipc_media_addr addr; /* initialized by media */ char name[TIPC_MAX_BEARER_NAME]; struct tipc_media *media; struct tipc_media_addr bcast_addr; diff --git a/net/tipc/net.c b/net/tipc/net.c index ab8a2d5d1e32..6a2c91f34703 100644 --- a/net/tipc/net.c +++ b/net/tipc/net.c @@ -88,7 +88,7 @@ * - A spin lock to protect the registry of kernel/driver users (reg.c) * - A global spin_lock (tipc_port_lock), which only task is to ensure * consistency where more than one port is involved in an operation, - * i.e., whe a port is part of a linked list of ports. + * i.e., when a port is part of a linked list of ports. * There are two such lists; 'port_list', which is used for management, * and 'wait_list', which is used to queue ports during congestion. * diff --git a/net/tipc/node.c b/net/tipc/node.c index fe7b0ad1d6f3..94738a1c67e8 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c @@ -1223,7 +1223,7 @@ int tipc_node_xmit(struct net *net, struct sk_buff_head *list, } /* tipc_node_xmit_skb(): send single buffer to destination - * Buffers sent via this functon are generally TIPC_SYSTEM_IMPORTANCE + * Buffers sent via this function are generally TIPC_SYSTEM_IMPORTANCE * messages, which will not be rejected * The only exception is datagram messages rerouted after secondary * lookup, which are rare and safe to dispose of anyway. -- 2.30.2