Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp287519pxf; Tue, 6 Apr 2021 22:36:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvx2kJCNHUgbg2TxClL7crk1Q/kuzuE+6ssOeuCwOScE+J10ss/Sgdh3myv9ERjOGXHo11 X-Received: by 2002:a92:6b02:: with SMTP id g2mr1460820ilc.115.1617773787884; Tue, 06 Apr 2021 22:36:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617773787; cv=none; d=google.com; s=arc-20160816; b=BEvmDUjgG0A6JL1gQdv8o6anK9M31KNjGsQiGMoKgH5+BtdFPwMXjoW/teMPfSejzq a2e5qURIrhzR8GrTwGIi4M+xZhx59VpMBOFlO9fwiDxvWeFKFWtq6lBQ9VtSCH+cKUil xXmhYe/h16vrgsFavOttDxg7q+L54oyu9JdaRqpLQYY+dogXalBfQDd5HonL9vwnICIP S6VPKOXb+t3Wx6v77APsjE+EGY/8Pc+++ms50Hbq0imNY1AEx3qG63gLuLYt5HzjeW69 OnEKkYJxjRAP6G69FgXCpZj9ys401XiyNMCgs0Ck7YzNo2PQ5vkeL3wRcTFrZlnZCISi sIHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=yP8mrDGlEVtx614WvEuwcqRxd/WtTpQH/gwrmhAo6KM=; b=eTzkaDgY9CWekhNCezTGo5aCEtEQwzL/5pNrW0GWbH2nOaZQS46z5p1ZMuHZi2jEFs F1T7qQEZ0j09SBF1lUKhjp4dke5e1A/9/LBrLip5HipYwNJZcg0H1p6vQwE/96V5355h Z4zd6nedGZBVrYIJSo1KNj0CsvBLWTdPjkq9n7Q8JunH4tPE2kzCqEyFImii9l8DX+rR XMnmYKLbhNLmjBs/ogQio/NXTKmNKBU+icSp5ltdps2glAn43/xvP/M0RbHwHYG6pNH2 LfWVkgwWwEsWuKK0rxheFJzu5i08HRqlqjohHyaQw8+bsIF2pF4yLE4QRSNlkyjfJCKk mBcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t5si19754768ilu.91.2021.04.06.22.36.16; Tue, 06 Apr 2021 22:36:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345433AbhDFPF1 (ORCPT + 99 others); Tue, 6 Apr 2021 11:05:27 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:16002 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230454AbhDFPFW (ORCPT ); Tue, 6 Apr 2021 11:05:22 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FF9jp0dwCzPnPV; Tue, 6 Apr 2021 23:02:22 +0800 (CST) Received: from localhost.localdomain (10.175.104.82) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Tue, 6 Apr 2021 23:05:01 +0800 From: Zheng Yongjun To: , , , , , , CC: Zheng Yongjun , Hulk Robot Subject: [PATCH net-next] net: tipc: Fix spelling errors in net/tipc module Date: Tue, 6 Apr 2021 23:19:09 +0800 Message-ID: <20210406151909.298732-1-zhengyongjun3@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.104.82] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These patches fix a series of spelling errors in net/tipc module. Reported-by: Hulk Robot Signed-off-by: Zheng Yongjun --- 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 6bf4550aa1ac..57c6a1a719e2 100644 --- a/net/tipc/bearer.h +++ b/net/tipc/bearer.h @@ -154,9 +154,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 a129f661bee3..faf6bf554514 100644 --- a/net/tipc/net.c +++ b/net/tipc/net.c @@ -89,7 +89,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 008670d1f43e..81430da244b9 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c @@ -1734,7 +1734,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.25.1