Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp689768pxf; Wed, 7 Apr 2021 09:14:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwk97VYYMb5+wSivGT40DNqs8n1n9FC4gDvAyg7n2nRn339g7/rV6bGMY6HoEjbrCpTDFMk X-Received: by 2002:a6b:5811:: with SMTP id m17mr3048290iob.102.1617812062827; Wed, 07 Apr 2021 09:14:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617812062; cv=none; d=google.com; s=arc-20160816; b=ADBCSNvqpCXewuUEKbNBuXKj96kVCAq24CJKVge24wZgetldWMImlytXF2QyydTkn8 im+hCn/48vD4mFUNrAYxX0C+kWhUA4NgAQMiiOVSVWKhj49Kdylw/lFMkewxMKwzTmeW MHXc2o2MLrDdlpuzLH/tH+1sPf01BcX4xCaMMZdzKiiVccNMGGVi7taep0KpYrncYLQl tn3R7sFRiLwEK7xEihg55Am9TL38WXGQ8PqNknRs6Hkx+sEBzEWhWwISLIYwCtroWlCq wRTGf+gq7brinqB5rI9lROJZmilXIDKW3ZnRagHxGPDAYfIkfuyv2v5gdFbKEpHOrHra zglw== 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=LZC4aRTfZEcdWdBT52ntpvds3e4H1hBiNJIJdW+Dp9D4ZBbETnPgNVrJBkA3s+ufJU MXfgzS0fDmTaCGWD2pfHMDmt7P6aBy8L1/SjOfN5A1iQSpvpS8uTziK0wY0W4hwKJZpj BqNPijOAZDJ5LWRuIdrDxYwYFGC745E7eO5NURaAuHolPcoHHSV3LqJlyvmlircGH6a4 5f+5+C5hUjBGGYzQA2Pe7Uml+FHuhW5XfWtsSeYqBWT2d7+o4sVAPcUcZjEM2LKWL53G edHP+DkhUSGFzRlwY9jQ7KNAZ8UtgnU8ymdZ1XBj8JLiw22IuY5tU2PV96LaXsC9Kqq3 VNHA== 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 m11si22187144ilu.158.2021.04.07.09.14.10; Wed, 07 Apr 2021 09:14:22 -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 S1347811AbhDGBp7 (ORCPT + 99 others); Tue, 6 Apr 2021 21:45:59 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:15501 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347808AbhDGBp5 (ORCPT ); Tue, 6 Apr 2021 21:45:57 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FFRxj1HP3zyNW7; Wed, 7 Apr 2021 09:43:37 +0800 (CST) Received: from localhost.localdomain (10.175.104.82) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.498.0; Wed, 7 Apr 2021 09:45:37 +0800 From: Zheng Yongjun To: , , , , , , CC: Zheng Yongjun , Hulk Robot Subject: [PATCH v2] net: tipc: Fix spelling errors in net/tipc module Date: Wed, 7 Apr 2021 09:59:45 +0800 Message-ID: <20210407015945.420908-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